@charset "UTF-8";
/* =========================================================== */
/* == Автор: Солдатенков Дмитрий (d_b_s@mail.ru)            == */
/* == Компания: SmartSoft (http://smartsoft.ru/)            == */
/* == Описание: CSS-шаблон для браузерного просмотра сайта  == */
/* == Дата создания: 02 апреля 2021 года.                   == */
/* =========================================================== */
/* ==                                                        == */
/* == MECHANIC — Брендинг интегрирован: май 2026            == */
/* == Изменения: _variables.scss, _fonts.scss               == */
/* == Добавлено: _mechanic-brand.scss (последним)           == */
/* ==                                                        == */
/* =========================================================== */
/* ================ ПЕРЕМЕННЫЕ И ФУНКЦИИ SASS ================ */
/* =========================================================== */
/*< подключаем МИКСИНЫ> =======================================*/
/*< подключаем ПЕРЕМЕННЫЕ> ====================================*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/*
 * ============================================================
 *  MECHANIC — Брендовые токены
 *  Файл: _variables.scss
 *  
 *  ИЗМЕНЕНИЯ от оригинала SmartSoft помечены комментарием // MECHANIC
 *  Остальное — без изменений, Дмитрий может обновлять штатно.
 * ============================================================
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
:root {
  /* ШРИФТ */
  --font-family-default: "Inter", "Roboto", "Helvetica", "Arial", sans-serif; /* MECHANIC: Inter вместо Roboto */
  --font-family: var(--font-family-default);
  --font-family-heading: var(--font-family);
  --font-size: 16px;
  --font-weight: 400;
  /* ЦВЕТА ФОНА */
  --color-body-bg: #f0f4f8; /* MECHANIC: холодный серо-голубой (было #fff) */
  --color-header-bg: #0c111a; /* MECHANIC: Deep Navy шапка (было #fff) */
  --color-h1: #1e293b; /* MECHANIC: тёмный текст заголовков (было #555) */
  /* ЛЕЙАУТ */
  --layout-content-max-width: 1200px;
  --layout-side-padding: 20px;
  --layout-side-padding-mobile: 15px;
  --layout-adaptive-vertical-indents-factor-decrease: 4;
  --layout-cell-count: 36;
  --layout-cell-main: 38;
  --layout-cell-width: calc(var(--layout-content-max-width) / var(--layout-cell-count));
  --layout-delta: var(--delta_sidebar, 2);
  --logo-max-width: 170px;
  /* ФОРМЫ */
  --form-color-text: #1e293b; /* MECHANIC: тёмный текст (было #4d4d46) */
  --form-color-placeholder: #94a3b8; /* MECHANIC: приглушённый (было #999999) */
  --form-padding-text: 6px;
  --form-height-text: 36px;
  --form-color-border: #e2e8f0; /* MECHANIC: светлее (было #cccccc) */
  --form-color-bg: #ffffff;
  --form-color-btn-bg: #0891b2; /* MECHANIC: Teal акцент (было #177e80) */
  --form-color-delbtn-bg: #ef4444; /* MECHANIC: красный удаления (было #ff7732) */
  --form-color-uploadbtn-bg: #475569; /* MECHANIC: серый загрузки (было #555555) */
  --form-color-title: #0891b2; /* MECHANIC: Teal заголовки (было #177e80) */
  --form-color-btn-text: #ffffff;
  --form-radius-border: 6px; /* MECHANIC: скругление 6px (было 0) */
  /* КОНТРОЛЫ */
  --controls-height-s: 30px;
  --controls-height-m: 40px;
  --controls-height-l: 50px;
  --controls-height-xl: 60px;
  --controls-btn-padding-x: 1em;
  --controls-btn-padding-y: 0;
  --controls-btn-border-radius: 6px; /* MECHANIC: скругление (было 6px — совпадает, ок) */
  --controls-form-padding-x: 10px;
  --controls-form-padding-y: calc(1em * 0.4);
  --controls-form-border-radius: var(--controls-btn-border-radius, 6px);
  --controls-font-size-s: calc(var(--font-size) * 0.75);
  --controls-font-size-m: var(--font-size);
  --controls-font-size-l: calc(var(--font-size) * 1.25);
  --controls-font-size-xl: calc(var(--font-size) * 1.5);
  --controls-border-width: 1px;
  /* СТАТУСЫ */
  --color-error: #ef4444; /* MECHANIC: современный красный (было #ff0000) */
  --color-success: #22c55e; /* MECHANIC: современный зелёный (было #00b200) */
  --line-height: 1.5;
  --cursor-disabled: not-allowed;
  /* Z-INDEX */
  --zindex-dropdown: 1000;
  --zindex-sticky: 1010;
  --zindex-fixed: 1020;
  --zindex-overlay: 1030;
  --zindex-modal: 1040;
  --zindex-tooltip: 1050;
  /* TRANSITIONS */
  --btn-transition: color .15s ease-in-out, background .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  --input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  --fixed-panels-top-offset: 0px;
  --fixed-panels-bottom-offset: 0px;
  /* ВСПОМОГАТЕЛЬНЫЕ ФОНЫ */
  --bg-minor-shade: #f1f5f9; /* MECHANIC: холоднее (было #f7f7f7) */
  /* ---- Mechanic-специфичные токены ---- */
  /* Используются в _mechanic-brand.scss для точечных правок */
  --mechanic-teal: #0891b2;
  --mechanic-teal-hover: #0e7490;
  --mechanic-teal-light: rgba(8, 145, 178, 0.10);
  --mechanic-navy: #0c111a;
  --mechanic-surface: #131b27;
  --mechanic-border-dark: rgba(255, 255, 255, 0.08);
  --mechanic-text-light: #f1f5f9;
  --mechanic-text-muted: #94a3b8;
}

/* ---- SASS-переменные (для вычислений внутри SCSS) ---- */
/* максимальная ширина контейнера */
/* высота шапки с пунктами меню */
/* высота шапки с логотипом */
/*<подключаем ШРИФТЫ> =========================================*/
/*
 * ============================================================
 *  MECHANIC — Шрифты
 *  Файл: _fonts.scss
 *  
 *  Inter подключается из Google Fonts (работает без VPN).
 *  Roboto оставлен как fallback в стеке font-family.
 * ============================================================
 */
/* Inter — основной шрифт брендбука Mechanic */
/* Дополнительный шрифт для отображения знака рубля */
@font-face {
  font-family: "als_rublregular";
  src: url("/css/fonts/rouble.eot");
  src: url("/css/fonts/rouble.eot?#iefix") format("embedded-opentype"), url("/css/fonts/rouble.woff2") format("woff2"), url("/css/fonts/rouble.woff") format("woff"), url("/css/fonts/rouble.ttf") format("truetype"), url("/css/fonts/rouble.svg#als_rublregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
/*
 * Примечание: Gotham Pro доступен в /public/fonts/gothampro/
 * Можно подключить как premium-шрифт для заголовков,
 * если понадобится отличить h1 от body:
 *
 * @include font('GothamPro', '../fonts/gothampro/gothampro-webfont', normal, normal);
 * @include font('GothamPro', '../fonts/gothampro/gothampro_bold-webfont', bold, normal);
 * затем: --font-family-heading: 'GothamPro', 'Inter', sans-serif;
 */
/*< подключаем обнуление> =====================================*/
*, *:before, *:after {
  padding: 0;
  margin: 0;
  border: 0;
  /* box-sizing: border-box; */
}

/*< подключаем баз. параметры>=================================*/
html, body {
  height: 100%;
}

body {
  font-family: var(--font-family);
}

button {
  padding: 10px 20px;
  width: min-content;
  height: min-content;
  background-color: var(--form-color-btn-bg);
  color: var(--form-color-btn-text);
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  margin: 5px 0px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--form-color-border);
  border-radius: var(--form-radius-border);
}

.wrapper {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
}

.mwrapper {
  display: none;
  width: 0px;
  height: 0px;
  z-index: 2000;
}

.mwrapper > div {
  display: flex;
  flex-direction: column;
}

body.mobile {
  position: relative;
}

body.mobile .wrapper {
  background-color: #000;
  opacity: 0.6;
}

body.mobile .mwrapper {
  display: block;
  width: 99%;
  height: inherit;
  background-color: #fff;
  position: absolute;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease; /* Плавное выдвижение */
}

.mwrapper .conrols {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 50px;
  background-color: #0c111a;
  padding: 1em;
  box-sizing: border-box;
}

.mwrapper .conrols button {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: #1a1f27;
  border: 1px solid #2b3037;
  border-radius: 7px;
  margin-left: 10px;
  padding: 0;
  color: #94a3b8;
}

.mwrapper .navigation nav.menu__body {
  padding: 1em;
}

.mwrapper nav > ul {
  display: flex;
  flex-direction: column;
}

.mwrapper nav > ul > li {
  margin: 0 0 0.5em 2.5em;
}

.mwrapper nav > ul > li:first-child {
  margin-left: 1.4em;
}

.container {
  max-width: var(--layout-content-max-width);
  margin: 0px auto;
  padding: 0px 10px;
}
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 991.98px) {
  .container {
    max-width: 750px;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: none;
  }
}

.visible-desktop {
  display: none !important;
}
@media screen and (min-width: 1200px) {
  .visible-desktop {
    display: block !important;
  }
}

.visible-mobi {
  display: none !important;
}
@media screen and (max-width: 499px), screen and (min-width: 500px) and (max-width: 767px) and (orientation: portrait) {
  .visible-mobi {
    display: block !important;
  }
}

.visible-tablet {
  display: none !important;
}
@media screen and (min-width: 768px) and (max-width: 1199px), screen and (min-width: 500px) and (max-width: 767px) and (orientation: landscape) {
  .visible-tablet {
    display: block !important;
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* =========================================================== */
/* ================= СТРУКТУРА КАРКАСА САЙТА ================= */
/* =========================================================== */
.header {
  background-color: var(--color-header-bg, #0c111a);
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.header-desctop {
  display: flex;
  flex-direction: column;
}

.header__mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .header-desctop {
    display: none;
  }
  .header__mobile {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    padding-bottom: 1em;
  }
}
.header__container {
  width: var(--layout-content-max-width);
  margin: 0px auto;
  padding: 0px 10px;
  display: flex;
  align-items: center;
}

.header__part-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
  height: 30px;
}

.header__part-bottom {
  padding: 20px 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu {
  flex-grow: 1;
  display: flex;
}

/* инициализация верхнего меню BEGIN */
UL.menu__list,
UL.submenu__list {
  padding: 0;
  margin: auto;
  list-style: none;
}

.menu__list a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 12px 20px;
  transition: background 0.3s;
}

.menu__list > li {
  position: relative;
}
@media screen and (max-width: 768px) {
  .menu__list > li {
    border-bottom: 1px solid #eee;
  }
}

/*
.menu__list a:hover {
    background-color: #f0f0f0;
}
*/
/* Прячем чекбокс во всех версиях */
.menu__checkbox {
  display: none;
}

/* Прячем мобильную стрелку на компьютерах */
.menu__arrow {
  display: none;
}

/* ========================================================== */
/* СТИЛИ ДЛЯ КОМПЬЮТЕРОВ (Экраны шире 768px)                  */
/* ========================================================== */
@media screen and (min-width: 769px) {
  .menu__list {
    display: flex;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  /* Скрываем подменю */
  .submenu__list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
  }
  /* Показ при наведении мыши */
  .menu__list > li:hover .submenu__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .submenu__list > li {
    width: 100%;
  }
  .submenu__list a {
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
    width: inherit;
    color: var(--mechanic-teal);
    box-sizing: border-box;
  }
  .submenu__list a:hover {
    color: var(--mechanic-teal-hover);
  }
}
/* ========================================================== */
/* СТИЛИ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (Экраны 768px и меньше)       */
/* ========================================================== */
@media screen and (max-width: 768px) {
  .menu__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
  }
  /* Контейнер для ссылки "Каталог" и стрелочки */
  .menu__item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu__item-wrapper a {
    flex-grow: 1; /* Ссылка занимает всю ширину, кроме стрелки */
  }
  /* Стиль мобильной стрелки клика */
  .menu__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 45px;
    cursor: pointer;
    /* border-left: 1px solid #eee; */
    font-size: 14px;
    color: #666;
    transition: transform 0.3s;
  }
  /* Скрываем подменю на мобильных по умолчанию */
  .submenu__list {
    display: none;
    background-color: #fafafa;
    padding-left: 15px;
  }
  /* ГЛАВНАЯ МАГИЯ CSS: Если чекбокс нажат -> показываем подменю */
  .menu__checkbox:checked ~ .submenu__list {
    display: block;
  }
  /* Поворачиваем стрелочку при открытии */
  .menu__checkbox:checked ~ .menu__item-wrapper .menu__arrow {
    transform: rotate(180deg);
  }
  .submenu__list a {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* инициализация верхнего меню END */
.header__area-logo IMG {
  max-width: var(--logo-max-width, 260px);
}

.header__area-search {
  flex-grow: 1;
  display: flex;
  margin: 0 0 0 5%;
}

.header__mobile .header__area-search {
  margin: 0 5% 0 5%;
}

.header__search {
  width: 100%;
  position: relative;
}

.header__search .dropdown {
  float: left;
  height: 40px;
}

.header__search .dropdown span {
  display: inline-block;
  position: absolute;
  z-index: 4;
  height: 50px;
  padding: 0px 8px 0px 10px;
  margin: 0;
  line-height: 50px;
  border: none;
  cursor: pointer;
  background-color: var(--mechanic-teal);
  color: #ffffff;
  font-size: 13px;
  border-top-left-radius: var(--form-radius-border);
  border-bottom-left-radius: var(--form-radius-border);
}

.header__search .dropdown span::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 20px;
  top: 15px;
  margin-left: 8px;
}

.header__search .dropdown ul {
  position: absolute;
  top: 100%;
  z-index: 1000;
  display: none;
  float: left;
  padding: 0;
  margin: 11px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background: #fff;
  border-radius: 0px;
  border: 1px solid #f5f5f5;
}

.header__search-form {
  display: flex;
  border-radius: var(--controls-form-border-radius);
}

.header__area-search form input {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  border-right-color: currentcolor;
  font-size: var(--font-size);
  width: 150px;
  flex-grow: 1;
  background: var(--bg-minor-shade);
  border-color: var(--bg-minor-shade);
  color: var(--color-text);
  height: var(--controls-height-l);
  padding: 0 var(--controls-form-padding-x);
  font-family: var(--font-family);
  outline: none;
  padding-left: 42px;
}

.header__search-btn {
  position: relative;
  width: var(--controls-height-l);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  background: var(--bg-minor-shade);
  border-color: var(--bg-minor-shade);
  color: var(--bg-half-shade);
  height: var(--controls-height-l);
  font-size: var(--controls-font-size-l);
  margin: 0;
  padding: 0;
}

.header__search-mobile-btn {
  min-width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text);
  display: none;
}

.header__search__results {
  position: absolute;
  width: 100%;
  max-height: 300px;
  display: none;
  background: var(--bg);
  overflow-y: auto;
  border: 1px solid var(--bg-major-shade);
  border-radius: var(--controls-form-border-radius);
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  z-index: 1050;
  top: 100%;
  border-top: 0;
}

.header__controls {
  display: flex;
  justify-content: space-between;
  min-width: 140px;
}

.header__menu a,
.header__controls a {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  display: inline-block;
  text-align: left;
  color: var(--mechanic-text-muted, #94a3b8);
}

.header__menu a:hover,
.header__controls a:hover {
  color: var(--mechanic-text-light, #f1f5f9);
  cursor: pointer;
}

.header__controls .header__control-lang SELECT,
.header__mobile .header__mobile-lang SELECT {
  border: 0;
  width: 40px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: inherit;
  font-weight: normal;
  color: var(--mechanic-text-muted);
}
@media (max-width: 479.98px) {
  .header__controls .header__control-lang SELECT,
  .header__mobile .header__mobile-lang SELECT {
    width: 26px;
  }
}

.header__mobile .header__mobile-lang SELECT {
  font-size: 16px;
  font-weight: bold;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.header__mobile .header__mobile-lang SELECT:focus {
  outline: none;
  box-shadow: none;
}

.header__mobile .header__mobile-lang SELECT::-ms-expand {
  display: none;
}

.header__mobile-panel__content {
  /* width: 100%; */
  display: flex;
  padding: 5px var(--layout-side-padding);
  min-height: 66px;
  justify-content: space-between;
  align-items: center;
}

.header__mobile-panel__content,
.header__mobile-panel__controls {
  display: flex;
  justify-content: center;
}

.header__mobile .control-btn {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: #edf7fa;
  border: 1px solid #dce3ee;
  border-radius: 7px;
  margin-left: 10px;
  padding: 0;
}

.header__mobile .control-btn svg {
  width: 24px;
}

.header__mobile .control-btn svg path {
  fill: var(--mechanic-text-muted);
}

.header__mobile a.control-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  color: var(--color-text-dark-minor-shade);
}

.header__mobile-panel__logo {
  flex-grow: 1;
}

.header__mobile .header__logo {
  justify-items: center;
  margin: 0 auto;
}

.header__mobile-panel__logo IMG {
  max-width: 100%;
  max-height: 50px;
}

.navbar-collapse,
.navbar-collapse__mobile {
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid transparent;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar-collapse__mobile {
  background-color: #f2f2f2;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.navbar-collapse.collapse,
.navbar-collapse__mobile.collapse {
  display: none;
}

.navbar-collapse.collapse.in,
.navbar-collapse__mobile.collapse.in {
  display: block;
}

div.header__controls span.dropdown-toggle {
  position: relative;
}

div.header__controls span.dropdown-toggle a {
  text-decoration: none;
  cursor: pointer;
}

div.header__controls div.header__control-location {
  margin: 0px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.header__controls div.header__control-user a.border,
div.header__controls div.header__control-location a.border {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 0px 5px;
}

div.header__controls span.dropdown-toggle div.navbar-collapse {
  position: absolute;
  min-width: 350px;
  border: 1px solid #e4e4e4;
  top: 100%;
  z-index: 1000;
  background: #fff;
  float: left;
  margin-top: 7px;
  left: auto;
  right: -1px;
}

div.navbar-collapse div.form__field-buttons,
div.navbar-collapse__mobile div.form__field-buttons {
  display: flex;
  flex-direction: column;
}

header div.form__field-buttons > div {
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

header div.form__field-buttons a {
  display: block;
  border: none;
  text-transform: none;
}

div.navbar-collapse__mobile div.form__field-buttons a.btn {
  color: #000000;
  font-size: 14px;
  text-decoration: none;
  text-align: left;
}

div.form__field-buttons .btn::before {
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  font-family: FontAwesome;
  width: 30px;
  color: #333;
}

div.form__field-buttons .btn.dropdown {
  position: relative;
}

div.form__field-buttons a:hover,
div.form__field-buttons a:active,
div.form__field-buttons a:focus {
  color: var(--mechanic-teal, #0891b2) !important;
  box-shadow: none;
  background: none;
  border-color: #f5f5f5;
}

header div.form__field-buttons .btn_reg::before {
  content: "\f234";
}

header div.form__field-buttons .btn_remind::before {
  content: "\f128";
}

header div.form__field-buttons .btn_exit::before {
  content: "\f08b";
}

header div.form__field-buttons .btn_profile::before {
  content: "\f007";
}

header div.form__field-buttons .btn_data::before {
  content: "\f1c0";
}

div.btn__dropdown {
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
}

header div.form__field-buttons div.btn__dropdown > a {
  margin-bottom: 5px;
}

div.navbar-collapse__mobile div.form__field-buttons div.btn__dropdown > a {
  margin-bottom: 15px;
}

div.btn__dropdown > a:last-child {
  margin-bottom: 0px;
}

div.btn__dropdown a {
  border: none !important;
}

div.btn__dropdown a i {
  margin-right: 10px;
  margin-left: 20px;
}

.obj-payinfo:before {
  content: "\f09d";
}

.obj-shop:before {
  content: "\f291";
}

.obj-delivery:before {
  content: "\f0d1";
}

.obj-company:before {
  content: "\f0c0";
}

.obj-tmpl:before {
  content: "\f093";
}

.header__location form {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.header__location form > div {
  margin-bottom: 5px;
}

button.btn_auth {
  width: 100%;
}

.breadcrumbs {
  width: 100%;
  margin-bottom: 10px;
}

.breadcrumbs ul {
  font-style: italic;
  letter-spacing: 0.2em;
  line-height: 15px;
  list-style: none outside none;
  overflow: hidden;
  position: relative;
  /* text-transform: uppercase; */
  width: 100%;
}

.breadcrumbs ul li {
  float: left;
  margin-right: 5px;
  position: relative;
  white-space: nowrap;
  font-size: 12px !important;
  font-family: var(--font-family) !important;
}

.breadcrumbs ul li:after {
  padding: 0 6px 0 5px;
  content: "»";
  /*
  display: block;
  height: 9px;
  position: absolute;
  right: 0px;
  top: 7px;
  width: 10px;
  */
}

.breadcrumbs ul li.last:after,
.breadcrumbs ul li:last-child:after {
  display: none;
}

.breadcrumbs ul li a {
  color: #222;
  text-decoration: none;
}

.breadcrumbs ul li.last a,
.breadcrumbs ul li span {
  color: var(--form-color-text);
}

.page {
  flex: 1 1 auto;
  padding: 199px 0 30px 0;
}
@media (max-width: 991.98px) {
  .page {
    padding: 177px 0 30px 0;
  }
}
@media (max-width: 767.98px) {
  .page {
    padding: 152px 0 30px 0;
  }
}
@media screen and (orientation: landscape) and (max-width: 1182px) {
  .page {
    padding: 82px 0 30px 0;
  }
}

.page_top {
  display: flex;
  justify-content: space-between;
}

.page_top_goback {
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.2em;
  line-height: 15px;
  text-transform: uppercase;
}

.page_top_goback A:before {
  background: url("/img/siteimg/icons/icons.png") no-repeat -30px -21px;
  content: "";
  display: inline-block;
  position: relative;
  width: 10px;
  height: 9px;
  right: 5px;
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.page_top_h1 h1 {
  margin: 0px 0px 12px 0px;
  color: #808080;
  font-size: 24px;
  font-family: Georgia;
}

.page__gallery {
  padding: 10px 0px;
}

.page__gallery ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex: 0 1 100%;
  flex-wrap: wrap;
}

@media screen and (max-width: 1200px) {
  .page__gallery ul li {
    flex: 0 1 calc(25% - 10px);
    margin: 15px 0;
  }
}
@media screen and (max-width: 991.98px) {
  .page__gallery ul li {
    flex: 0 1 calc(33.333% - 10px);
    margin: 10px 0;
  }
}
@media screen and (max-width: 640px) {
  .page__gallery ul li {
    flex: 0 1 calc(100% - 15px);
  }
}

.page__gallery ul li a {
  cursor: pointer;
}

.page__gallery ul li img {
  border: 1px solid #e6e6dd;
  padding: 18px;
  /* margin: 0px 20px 20px 0px; */
  width: 100%;
  height: auto;
}

.page__gallery ul li iframe, .page__gallery ul li video {
  border: 1px solid #e6e6dd;
  padding: 18px;
}

.container .page-title {
  color: var(--color-h1);
  font-weight: 400;
  margin-bottom: 20px;
}

.container p {
  text-indent: 0px;
  padding-bottom: -moz-calc(1em + 4px);
  padding-bottom: -webkit-calc(1em + 4px);
  padding-bottom: calc(1em + 4px);
  text-align: justify;
}

.container p, .container ul, .container ol {
  font: normal 16px/22px Georgia;
  color: #4d4d46;
}

.container .article__body h2,
.container .article__body h3 {
  color: #8f1b1e;
  margin: 0 0 20px;
  padding: 0;
  text-decoration: none;
}

.container .article__body h2 {
  font: 18px Georgia;
}

.container .article__body h3 {
  font: 16px Georgia;
}

/* обвязка всплывающего изображения BEGIN */
.imgpopup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 30px;
}

.imgpopup__content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 0px;
  position: relative;
}

.imgpopup__image {
  background-image: url("/img/loader.gif");
  background-position: center center; /* Положение фона */
  background-repeat: no-repeat; /* Отменяем повторение фона */
}

.imgpopup__image img {
  max-width: 100%;
  vertical-align: top;
  /* Add Animation */
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.imgpopup__close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 30px;
  color: #ff0000;
  text-decoration: none;
  cursor: pointer;
  color: #00ff00 !important;
  font-size: 16px !important;
}

.imgpopup__close:hover,
.imgpopup__close:focus {
  color: #ff0000 !important;
}

/* обвязка всплывающего изображения END */
DIV.module__content {
  padding-top: 30px;
  font-family: Georgia;
  font-size: 14px;
  font-style: normal;
}

.hide {
  display: none;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}

.table.objects > tbody > tr > td,
.table.objects > tbody > tr > th {
  padding: 0px;
}

.table.objects > tbody > tr > td:first-child,
.table.objects > thead > tr > th:first-child {
  width: 100%;
}

.table.objects > tbody > tr > td {
  padding-top: 5px;
}

.table.objects > tbody > tr > td > a {
  color: var(--form-color-text) !important;
}

/* обвязка всплывающей подсказки через аттрибут data-clue*/
/* Контейнер для текста и иконки */
.clue-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

/* Иконка знака вопроса */
.clue-icon::after {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  background-color: var(--form-color-btn-bg);
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
}

/* Скрытое окно подсказки по умолчанию */
.clue-icon::before {
  content: attr(data-clue);
  position: absolute;
  bottom: 120%;
  left: 14%;
  transform: translateX(-50%);
  z-index: 10;
  width: 160px;
  padding: 8px;
  background-color: #333;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  border-radius: 4px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Показ подсказки при наведении (для ПК) */
.clue-text:hover .clue-icon::before {
  visibility: visible;
  opacity: 1;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
  /* Отключаем наведение на мобильных, чтобы не было багов */
  .clue-text:hover .clue-icon::before {
    visibility: hidden;
    opacity: 0;
  }
  /* Показываем подсказку при нажатии и удержании */
  .clue-text:active .clue-icon::before {
    visibility: visible;
    opacity: 1;
  }
}
.footer {
  position: relative;
  background: #f5f5f5;
  border-top: 1px solid #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pager_container {
  clear: both;
  width: 100%;
}

/*
.pager_container ul {
    display: flex;
    align-items: center;
    flex-direction: row;
}
.pager_container ul > li {

}
*/
DIV.pager_pages {
  border-bottom: 1px solid #d9d9d9;
  border-top: 1px solid #d9d9d9;
  clear: both;
  height: 44px;
  overflow: hidden;
  padding: 9px 0px 10px 0px;
  position: relative;
}

DIV.pager_pages TABLE {
  border-collapse: collapse;
  border-spacing: 0px;
  font: 15px/30px "Philosopher", sans-serif;
  margin: 0px auto;
  position: relative;
}

DIV.pager_pages TABLE TD {
  padding: 0px 6px;
}

DIV.pager_pages TABLE TD A,
DIV.pager_pages TABLE TD DIV {
  display: block;
  height: 30px;
  text-align: center;
  text-decoration: none;
  width: 40px;
}

DIV.pager_pages TABLE TD A {
  color: #333333;
}

DIV.pager_pages TABLE TD DIV {
  background-color: #ffffff;
  color: #b3b3b3;
}

DIV.pager_pages A.nav {
  font-size: 1.2em;
  color: #000;
  font-style: italic;
  letter-spacing: 0.2em;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
}
@media screen and (orientation: portrait) and (max-width: 479.98px) {
  DIV.pager_pages A.nav {
    display: none;
  }
}

DIV.pager_pages A.nav.first, DIV.pager_pages A.nav.back {
  padding-left: 23px;
}

DIV.pager_pages A.nav.first {
  left: 0px;
}

DIV.pager_pages A.nav.back {
  left: 132px;
}

DIV.pager_pages A.nav.forward, DIV.pager_pages A.nav.last {
  padding-right: 17px;
}

DIV.pager_pages A.nav.forward {
  right: 132px;
}

DIV.pager_pages A.nav.last {
  right: 0px;
}

/*
DIV.pager_pages A.nav:after {
    background: url('/img/site/icons/icons.png') no-repeat;
    content: '';
    display: block;
    height: 9px;
    position: absolute;
    top: 2px;
    width: 10px;
}
DIV.pager_pages A.nav.first:after, DIV.pager_pages A.nav.back:after {
    background-position: -102px -21px;
    left: 0px;
}
DIV.pager_pages A.nav.forward:after, DIV.pager_pages A.nav.last:after {
    background-position: -30px -21px;
    right: 0px;
}
*/
.pager_title {
  text-align: center;
  font-size: 18px;
  font-family: Georgia;
  color: #8F1B1E;
  padding: 20px 0px;
  font-weight: bold;
}

A.pager_loadmore {
  display: block;
  font-size: 16px;
  font-weight: bold;
  font-family: Georgia;
  height: 36px;
  line-height: 20px;
  margin-bottom: 20px;
  padding-top: 14px;
  text-align: center;
  text-decoration: none;
  color: #808080;
}

/*< подключаем стили для форм и кастомизации элементов>========*/
input[type=checkbox],
input[type=radio] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

input[type=checkbox] + label,
input[type=radio] + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

input[type=checkbox] + label::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid var(--form-color-border);
  border-radius: 0em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

input[type=checkbox]:checked + label::before {
  border-color: var(--form-color-border);
  background-color: var(--form-color-bg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%230891b2' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

input[type=checkbox]:not(:disabled):not(:checked) + label:hover::before {
  border-color: var(--form-color-border);
}

/* стили для активного состояния чекбокса (при нажатии на него) */
input[type=checkbox]:not(:disabled):active + label::before {
  background-color: #b3d7ff;
  border-color: #b3d7ff;
}

/* стили для чекбокса, находящегося в фокусе */
input[type=checkbox]:focus + label::before {
  /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
input[type=checkbox]:focus:not(:checked) + label::before {
  border-color: var(--form-color-border);
}

/* стили для чекбокса, находящегося в состоянии disabled */
input[type=checkbox]:disabled + label::before {
  background-color: #e9ecef;
}

/* создание в label псевдоэлемента  before со следующими стилями */
input[type=radio] + label::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid var(--form-color-border);
  border-radius: 50%;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

/* стили при наведении курсора на радио */
input[type=radio]:not(:disabled):not(:checked) + label:hover::before {
  border-color: #b3d7ff;
}

/* стили для активной радиокнопки (при нажатии на неё) */
input[type=radio]:not(:disabled):active + label::before {
  background-color: #b3d7ff;
  border-color: #b3d7ff;
}

/* стили для радиокнопки, находящейся в фокусе */
input[type=radio]:focus + label::before {
  /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

/* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
input[type=radio]:focus:not(:checked) + label::before {
  border-color: var(--form-color-border);
}

/* стили для радиокнопки, находящейся в состоянии checked */
input[type=radio]:checked + label::before {
  border-color: var(--form-color-border);
  background-color: var(--form-color-bg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='4' fill='%230891b2'/%3e%3c/svg%3e");
}

/* стили для радиокнопки, находящейся в состоянии disabled */
input[type=radio]:disabled + label::before {
  background-color: #e9ecef;
}

.form__fields__section .title {
  font-size: 18px !important;
  font-weight: bold;
  color: var(--form-color-title);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--form-color-title);
  padding: 0px 3px;
  line-height: 16px;
}

.form__fields__block {
  display: flex;
}

.form__fields__block.column {
  flex-direction: column;
}

.form__fields__block.row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.form__fields__block.row .form__field-buttons {
  margin-bottom: 0px;
  flex-grow: 1;
}

.form__field {
  padding: 5px 0px;
}

.form__field.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 15px;
}

.form__field.row .form__field-name {
  margin-right: 5px;
  text-wrap: nowrap;
}

.form__fields__block.row .form__field.part1 {
  width: 100%;
}

.form__fields__block.row .form__field.part2 {
  width: calc(50% - 10px);
}

.form__fields__block.row .form__field.part3 {
  width: calc(33.3333333333% - 10px);
}

.form__fields__block.row .form__field.part4 {
  width: calc(25% - 10px);
}

.form__field input[type=date] {
  position: relative;
}

.form__field input[type=text],
.form__field input[type=number],
.form__field input[type=date],
.form__field input[type=email],
.form__field input[type=password],
.form__field textarea {
  border: var(--controls-border-width) solid var(--form-color-border);
  box-sizing: border-box;
  padding: var(--controls-form-padding-x) var(--controls-form-padding-y);
  width: 100%;
  border-radius: var(--form-radius-border);
}

.form__field input[type=text],
.form__field input[type=number],
.form__field input[type=date],
.form__field input[type=email],
.form__field input[type=password] {
  max-height: var(--form-height-text);
}

.form__field input[type=text]::placeholder,
.form__field input[type=email]::placeholder,
.form__field input[type=date]::placeholder,
.form__field input[type=password]::placeholder {
  color: var(--form-color-placeholder);
  opacity: 1;
}

.form__field input[type=text].invalid {
  background-color: rgb(from var(--color-error) r g b/0.3);
}

.form__field textarea {
  resize: none;
}

.form__field-node,
.form__field-latlng {
  padding: 0px;
  display: flex;
  width: 100%;
}

.form__field-latlng {
  flex-direction: column;
}

.form__field-latlng div.coordinates {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}
@media (max-width: 479.98px) {
  .form__field-latlng div.coordinates {
    flex-direction: column;
  }
}

.form__field-latlng div.coordinates .coordinates__ctrl {
  display: flex;
}
@media (max-width: 479.98px) {
  .form__field-latlng div.coordinates .coordinates__ctrl {
    margin-top: 5px;
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
}

@media (max-width: 479.98px) {
  .form__field-latlng div.coordinates div.coordinates__data {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}

@media (min-width: 479.98px) {
  .form__field-latlng div.coordinates div.coordinates__data input[type=text] {
    max-width: 140px;
  }
}

.form__field-latlng div.coordinates div.coordinates__data > input[type=text]:first-child {
  margin-right: 5px;
}

.form__field-latlng div.coordinates div.coordinates__button {
  display: flex;
  padding: 0px;
}
@media (min-width: 479.98px) {
  .form__field-latlng div.coordinates div.coordinates__button {
    flex-basis: content;
    margin-left: 10px;
  }
}

.form__field-latlng div.coordinates div.coordinates__button a {
  padding: 11px 15px;
  width: min-content;
  height: min-content;
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  cursor: pointer;
  text-decoration: none;
  margin: 0px;
  text-wrap: nowrap;
}
@media (max-width: 479.98px) {
  .form__field-latlng div.coordinates div.coordinates__button a {
    width: 100%;
    text-align: center;
  }
}

.form__field-latlng div.coordinates div.coordinates__api {
  display: flex;
  align-items: center;
  padding: 0px;
}
@media (min-width: 479.98px) {
  .form__field-latlng div.coordinates div.coordinates__api {
    margin-left: 10px;
    min-width: 100px;
  }
}
@media (max-width: 479.98px) {
  .form__field-latlng div.coordinates div.coordinates__api {
    margin-top: 5px;
  }
}

.form__field-latlng div.map {
  width: 100%;
  height: 400px;
}

.form__field-latlng div.coordinates__note {
  padding: 0.5em 0 1em 0;
}

.form__field-latlng div.coordinates__note > p {
  padding-bottom: 0.1em;
}

.form__field-select-container {
  padding: 0px;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.form__field-select-container > div.custom-select {
  margin-bottom: 5px;
}

.form__field-select-container > div.custom-select:last-child {
  margin-bottom: 0px;
}

.form__field-node.column {
  flex-direction: column;
}

.form__field-node > ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.form__field-node > ul li {
  display: flex;
  align-items: center;
  padding: 2px 0px 0px 0px;
}

.form__field-name {
  font: bold 14px Arial;
  color: var(--form-color-text);
  vertical-align: top;
}

.form__field-empty {
  min-width: 280px;
  display: table-cell;
  padding: 15px 0px 0px 0px;
}

.form__field-name span {
  color: var(--form-color-btn-bg);
  margin-left: 4px;
}

.form__field-buttons {
  display: flex;
  flex-direction: row;
  text-wrap: nowrap;
}

div.form__field-buttons {
  margin-bottom: 20px;
}

.form__field-captcha {
  display: flex;
  padding: 10px 0px;
}

.form__field-captcha input[type=checkbox] {
  margin: 0px;
}

.form__field-captcha input[type=text] {
  border: 1px solid var(--form-color-border);
  padding: 2px;
  width: 100px !important;
  margin: 0px;
}

.form__field-captcha span,
.form__field-captcha img {
  margin-left: 10px;
}

.form__field-captcha span {
  font: normal 14px Arial;
  color: #4d4d46;
}

.custom-select,
.custom-multiselect {
  position: relative;
  width: 100%;
  text-align: left;
  outline: none;
  line-height: 28px;
  font-size: 14px;
}

.custom-select.hide,
.custom-multiselect.hide {
  display: none;
}

.custom-select .selected,
.custom-multiselect .selected {
  background-color: var(--form-color-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-text);
  cursor: pointer;
  user-select: none;
  border-radius: var(--form-radius-border);
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
}

.custom-select .selected.open,
.custom-multiselect .selected.open {
  border: 1px solid var(--form-color-border);
  border-top-left-radius: var(--form-radius-border);
  border-top-right-radius: var(--form-radius-border);
}

/* стрелочка SELECT-а 
.custom-select .selected:after,
.custom-multiselect .selected:after {
    position: absolute;
    content: "";
    top: 11px;
    right: 0.9em;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: var(--form-color-border) transparent transparent transparent;
}
*/
.custom-select .selected span.body,
.custom-multiselect .selected span.body {
  flex-grow: 1;
  padding-left: 1em;
  padding-right: 1em;
  text-wrap: nowrap;
}

/* квадратик со стрелочкой у SELECT-а */
.custom-select .selected span.arrow,
.custom-multiselect .selected span.arrow {
  width: 32px;
  height: 32px;
  background-color: var(--form-color-btn-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-right-radius: var(--form-radius-border);
  border-bottom-right-radius: var(--form-radius-border);
}

.custom-select .selected span.arrow span,
.custom-multiselect .selected span.arrow span {
  vertical-align: middle;
  margin: 0 5px;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid #fff;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.custom-select .items div.search,
.custom-multiselect .items div.search {
  padding: 0.5em;
}

.custom-select .items div.search input,
.custom-multiselect .items div.search input {
  width: 100%;
  border: var(--controls-border-width) solid var(--form-color-btn-bg);
  padding: 5px var(--controls-form-padding-y);
  color: var(--form-color-text);
}

.custom-select .items div.search input:focus,
.custom-multiselect .items div.search input:focus {
  outline: none !important;
}

.custom-select .items div.search > div,
.custom-multiselect .items div.search > div {
  display: none;
}

.custom-select .items div.search > div.visible,
.custom-multiselect .items div.search > div.visible {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  max-height: 140px;
  border-right: 1px solid var(--form-color-border);
  border-left: 1px solid var(--form-color-border);
  border-bottom: 1px solid var(--form-color-border);
}

.custom-select .items div.search > div.empty,
.custom-multiselect .items div.search > div.empty {
  display: block;
}

.custom-select div.items div.search > div > div:hover,
.custom-multiselect div.items div.search > div > div:hover {
  background-color: rgb(from var(--form-color-btn-bg) r g b/0.7);
  color: #fff;
}

.custom-select div.items,
.custom-multiselect div.items {
  color: var(--form-color-text);
  border-right: 1px solid var(--form-color-border);
  border-left: 1px solid var(--form-color-border);
  border-bottom: 1px solid var(--form-color-border);
  position: absolute;
  background-color: var(--form-color-bg);
  left: 0;
  right: 0;
  z-index: 1;
  border-bottom-right-radius: var(--form-radius-border);
  border-bottom-left-radius: var(--form-radius-border);
}

.custom-multiselect div.items div.content,
.custom-select div.items div.content {
  overflow-y: scroll;
  max-height: 140px;
}

.custom-multiselect .items .item {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.custom-select .items div.content,
.custom-multiselect .items div.content {
  color: var(--form-color-text);
  cursor: pointer;
  user-select: none;
}

.custom-select .items div.content > div,
.custom-multiselect .items div.content > div {
  padding-left: 1em;
}

.custom-multiselect .items label.locked {
  opacity: 0.55;
  background-color: #f1f1f1;
}

.custom-select .items section.group,
.custom-multiselect .items section.group {
  box-sizing: content-box;
}

.custom-select .items section.group.locked,
.custom-multiselect .items section.group.locked,
.custom-multiselect .items div.locked {
  opacity: 0.55;
  background-color: #f1f1f1;
}

.custom-select .items section.group > span {
  text-wrap: nowrap;
}

.custom-select .items section.group > span,
.custom-multiselect .items section.group > a {
  font-weight: bold;
  padding-left: 1em;
}

.custom-select .items section.group div.ingroup,
.custom-multiselect .items section.group div.ingroup {
  padding-left: 2em;
}

.custom-multiselect .items section.group {
  display: flex;
  flex-direction: column;
}

.custom-multiselect .items section.group section.subitems {
  width: 100%;
}

.custom-multiselect .items section.group section.subitems.hide {
  display: none;
}

.custom-select div.items div.content div:hover,
.custom-multiselect div.items div.content div:hover {
  background-color: rgb(from var(--form-color-btn-bg) r g b/0.7);
  color: #fff;
}

/* Кастомизация инпута type=date BEGIN ---------------------------------------*/
.custom-date {
  height: 28px;
  line-height: 28px;
  padding: 2px 0px;
}

.custom-date label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  left: 0;
  top: 0;
  overflow: hidden;
  background-color: var(--form-color-bg);
  border: 1px solid var(--form-color-border);
  height: inherit;
  width: inherit;
  padding-right: 0.5em;
  cursor: pointer;
}

.custom-date label input[type=date] {
  height: 0;
  width: 0;
  opacity: 0;
  position: absolute;
  left: -6px;
}

.custom-date label input[type=text] {
  flex-grow: 1;
  border: none;
}

.custom-date label input[type=text]:focus {
  outline: none;
}

.custom-date label svg path {
  fill: var(--form-color-border);
}

/* Кастомизация инпута type=date END -----------------------------------------*/
/* Кастомизация файлового инпута BEGIN ---------------------------------------*/
.custom-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  line-height: 28px;
  padding: 2px 0px;
}

.custom-file var {
  flex-grow: 1;
  height: inherit;
  width: 100%;
  background: var(--form-color-bg);
  overflow: hidden;
  margin-right: 3px;
  margin-top: 2px;
  zoom: 1;
  _right: -3px; /*eliminate gap for IE*/
  border: 1px solid var(--form-color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-file label {
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  overflow: hidden;
  /* Цвет, рамка, шрифт кнопки Обзор */
  color: var(--form-color-btn-text);
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  height: inherit;
  width: 70px;
  margin: 2px 0px 0px 5px;
  cursor: pointer;
}

.custom-file label span {
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  text-align: center;
}

.custom-file label:hover {
  color: #fff;
  opacity: 0.8;
}

.custom-file label input[type=file] {
  right: 0;
  top: 0;
  border: none;
  zoom: 1;
  filter: alpha(opacity=0);
  opacity: 0;
  height: 0;
  width: 0;
}

.custom-file var input[type=text] {
  flex-grow: 1;
  /* width:inherit; */
  padding-left: 5px;
  border: none;
  background: transparent;
  color: var(--form-color-text);
}

.custom-file var input:focus {
  outline: none;
}

.custom-file var button {
  right: 0.5em;
  display: none;
  background-color: #fff;
  border: none;
  cursor: pointer;
}

.custom-file var button.active {
  display: block;
}

.custom-file var button svg path {
  fill: var(--form-color-btn-bg);
}

/* Кастомизация файлового инпута END -----------------------------------------*/
/* Кастомизация инпута-NUMBER BEGIN ------------------------------------------*/
.custom-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  line-height: 28px;
  padding: 2px 0px;
  width: inherit;
}

.custom-number input[type=number]::-webkit-outer-spin-button,
.custom-number input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-number input[type=number] {
  -moz-appearance: textfield;
  border-right: none;
  flex-grow: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-number div {
  display: flex;
  flex-direction: column;
}

.custom-number div button {
  background: var(--form-color-btn-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  font-size: 10px;
  color: var(--form-color-bg);
  user-select: none;
  transition: background 0.15s, color 0.15s;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0;
  padding: 0;
  width: 32px;
}

.custom-number div button:first-child {
  border-top: 1px solid var(--form-color-border);
  border-bottom: 1px solid var(--form-color-border);
  border-right: 1px solid var(--form-color-border);
  border-top-right-radius: var(--form-radius-border);
  border-bottom-right-radius: 0;
}

.custom-number div button:last-child {
  border-bottom: 1px solid var(--form-color-border);
  border-right: 1px solid var(--form-color-border);
  border-bottom-right-radius: var(--form-radius-border);
  border-top-right-radius: 0;
}

/* Кастомизация инпута-NUMBER END --------------------------------------------*/
.custom-multiselect .selected button,
.custom-date button,
.custom-file button {
  height: 24px;
  width: 24px;
  background-color: var(--form-color-bg);
  border: 0px solid var(--form-color-btn-bg);
  color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-btn-bg);
}

.custom-select .selected button,
.custom-multiselect .selected button {
  margin-right: 5px;
}

.custom-multiselect .selected button div,
.custom-file button div {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.custom-multiselect .selected button div div,
.custom-file button div div {
  cursor: pointer;
}

.custom-multiselect .selected button div div:before,
.custom-multiselect .selected button div div:after,
.custom-file button div div:before,
.custom-file button div div:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--form-color-btn-bg);
}

.custom-multiselect .selected button div div:before {
  transform: rotate(45deg);
}

.custom-multiselect .selected button div div:after {
  transform: rotate(-45deg);
}

.custom-file button div div:before {
  transform: rotate(45deg);
}

.custom-file button div div:after {
  transform: rotate(-45deg);
}

/* Кнопки ОТПРАВИТЬ СБРОСИТЬ BEGIN -------------------------------------------*/
.form__field-buttons a.submit,
.form__field-buttons a.reset,
.form__field-buttons a.drop {
  padding: 10px 20px;
  width: min-content;
  height: min-content;
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  border-radius: var(--form-radius-border);
  color: var(--form-color-btn-text);
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  margin: 5px 0px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

a.submit.disable,
a.reset.disable,
a.drop.disable {
  opacity: 0.4;
}

.form__field-buttons a.submit.w100 {
  width: 100%;
  text-align: center;
}

.form__field-buttons a.submit.w50 {
  width: 50%;
  text-align: center;
}

.form__field-buttons a.submit,
.form__field-buttons a.reset {
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
}

.form__field-buttons a.submit:hover,
.form__field-buttons a.reset:hover,
.coordinates__button a:hover {
  background-color: var(--form-color-btn-bg);
  color: var(--form-color-btn-text) !important;
  opacity: 0.7;
}

.form__field-buttons a.reset,
.form__field-buttons a.drop {
  margin-left: 10px;
}

.form__field-buttons a.drop {
  background-color: var(--form-color-delbtn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
}

.form__field-buttons a.drop:hover {
  background-color: var(--form-color-delbtn-bg);
  color: var(--form-color-btn-text) !important;
  opacity: 0.7;
}

/* Кнопки ОТПРАВИТЬ СБРОСИТЬ END --------------------------------------------*/
/* Кустомные кнопки */
*.btn {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  color: #ffffff;
  cursor: pointer;
  cursor: hand;
  display: block;
  font: bold 15px/20px "Roboto", "Arial", sans-serif;
  height: 34px;
  padding-top: 12px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

*.btn.small {
  font-size: 13px;
  height: 25px;
  line-height: 15px;
  padding-top: 11px;
}

INPUT.btn {
  height: 50px;
  padding-top: 0px;
}

INPUT.btn.small {
  height: 40px;
}

.btn.s01 {
  background-color: #82181b;
  border-color: #82181b;
}

.btn.s01:hover {
  background-color: transparent;
  color: #82181b;
}

.btn.s02 {
  background-color: #333230;
  border-color: #333230;
}

.btn.s02:hover {
  background-color: transparent;
  color: #333230;
}

.btn.s03, .btn.s03:hover {
  background-color: #f5f4f0;
  border-color: #f5f4f0;
  color: #999791;
}

/*< подключаем стили модального окна>========*/
.popup__container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  transition: opacity 0.5s;
  visibility: hidden;
}

.popup__container.view {
  visibility: visible;
  transition: opacity 0.5s;
}

.popup__content {
  position: relative;
  z-index: 10001;
  background-color: #ffffff;
  padding: 20px;
  min-width: 280px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin: 20px;
}
@media (max-width: 479.98px) {
  .popup__content {
    width: 100%;
  }
}

.popup__content.part1 {
  width: calc(100% - 10px);
}

.popup__content.part2 {
  width: calc(50% - 10px);
}

.popup__content.part3 {
  width: calc(33.3333333333% - 10px);
}

.popup__content.part4 {
  width: calc(25% - 10px);
}

[v-cloak] {
  display: none;
}

.popup__close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  color: #000;
  text-decoration: none;
}

.icon__close {
  display: block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-width: 3px;
  border-style: solid;
  border-color: var(--form-color-btn-bg);
  border-radius: 100%;
  background: -webkit-linear-gradient(-45deg, transparent 0%, transparent 46%, white 46%, white 56%, transparent 56%, transparent 100%), -webkit-linear-gradient(45deg, transparent 0%, transparent 46%, white 46%, white 56%, transparent 56%, transparent 100%);
  background-color: var(--form-color-btn-bg);
  /* transition: all 0.3s ease; */
}

.icon__close:hover {
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
}

.popup__title {
  font-size: 32px;
  margin: 1em 0px;
}

.popup__text {
  font-size: 15px;
  line-height: 1.5;
}

.popup__content_image {
  padding: 0;
}

.popup__image img {
  max-width: 100%;
  vertical-align: top;
}

.popup__module {
  padding: 20px;
}

.popup-fade-enter-active, .popup-fade-leave-active {
  transition: opacity 0.5s;
}

.popup-fade-enter, .popup-fade-leave-to {
  opacity: 0;
}

.popup__tabs {
  display: flex;
  flex-direction: row;
  margin-bottom: 2em;
  background-color: #fff;
}

.popup__tabs a {
  border: 1px solid #177e80;
  width: max-content;
  padding: 0.2em 0.5em;
}

.popup__tabs a.active {
  border-top: none;
}

.popup__tabs span.spacer {
  border-top: 1px solid #177e80;
  width: 0.5em;
}

.popup__tabs span.spacer:last-child {
  flex-grow: 1;
}

div.user__container {
  display: flex;
  flex-direction: column;
}

form.xlsfields__form {
  width: 100%;
}

div.xlsfields__ctrl {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

div.xlsfields__button a,
div.xlsfields__ctrl a,
div.xlstemplate__btns a {
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
  padding: 10px 20px;
  width: min-content;
  height: min-content;
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  margin: 5px 0px;
  cursor: pointer;
  text-decoration: none;
  margin-left: 20px;
}

div.xlstemplate__btns, div.xlstemplate__uploadform {
  position: relative;
}

div.xlstemplate__btns a.drop {
  background-color: var(--form-color-delbtn-bg);
}

div.xlstemplate__btns a.upload {
  background-color: var(--form-color-uploadbtn-bg);
  position: relative;
}

div.xlstemplate__uploadform div.xlstemplate__loader {
  position: absolute;
  display: none;
  z-index: 10003;
  background-color: #ffffff;
  background-image: url("/img/loading.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}

div.xlstemplate__uploadform div.xlstemplate__loader.active {
  display: block;
  top: 0px;
  right: 0px;
}

div.xlstemplate__btns > div {
  position: absolute;
  display: none;
  z-index: 10002;
  background-color: #ffffff;
  padding: 20px;
  min-width: 280px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

div.xlstemplate__btns > div.active {
  display: block;
  top: 0px;
  right: 0px;
}

div.xlsfields__button a {
  width: inherit;
  text-align: center;
  display: block;
  margin: 0px 10px 10px 10px;
}

fieldset.xlsfields__container {
  width: inherit;
  border: 2px dashed var(--form-color-border);
  margin-bottom: 10px;
}

fieldset.xlsfields__container legend {
  padding: 0px 10px;
  font-weight: bold;
}

fieldset.xlsfields__container div.xlsfields__list {
  padding: 10px;
}

fieldset.xlsfields__container.feature {
  display: flex;
  padding: 5px;
  flex-direction: column;
}

fieldset.xlsfields__container.feature div {
  padding: 5px 10px;
}

fieldset.xlsfields__container.feature div textarea {
  height: 4em;
  border: 1px solid var(--form-color-border);
  resize: none;
  padding: 10px 5px;
  width: calc(100% - 10px);
}

fieldset.xlsfields__container div.xlsfields__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5em;
}

fieldset.xlsfields__container div.xlsfields__name {
  padding: 10px;
  display: flex;
}

fieldset.xlsfields__container div.xlsfields__item input,
fieldset.xlsfields__container div.xlsfields__name input {
  max-height: var(--form-height-text);
  border: 1px solid var(--form-color-border);
  padding: 10px 5px;
}

fieldset.xlsfields__container div.xlsfields__item input {
  width: 80px;
}

fieldset.xlsfields__container div.xlsfields__name input {
  flex-grow: 1;
}

fieldset.xlsfields__container div.xlsfields__item a.help {
  margin: 0px 3px 0px 10px;
}

fieldset.xlsfields__container div.xlsfields__item span {
  flex-grow: 1;
  display: flex;
}

div.xlstemplates__container {
  padding: 10px 0px;
  margin-bottom: 2em;
}

div.xlstemplate__container {
  margin-top: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px dashed var(--form-color-border);
}
@media (max-width: 479.98px) {
  div.xlstemplate__container {
    flex-direction: column;
  }
}

div.xlstemplate__container div.xlstemplate__num {
  font-weight: bold;
  min-width: 20px;
  text-align: left;
}

div.xlstemplate__container div.xlstemplate__name {
  flex-grow: 1;
}
@media (max-width: 479.98px) {
  div.xlstemplate__container div.xlstemplate__name {
    width: 100%;
  }
}

div.xlstemplate__container div.xlstemplate__btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
@media (max-width: 479.98px) {
  div.xlstemplate__container div.xlstemplate__btns {
    width: 100%;
  }
}

div.xlstemplate__container div.xlstemplate__btns > a {
  width: 33%;
  margin-left: 10px;
  text-wrap: nowrap;
  text-align: center;
}

div.seller__shops,
div.seller__company {
  display: none;
}

div.seller__shops.active,
div.seller__company.active {
  display: flex;
  flex-direction: column;
}

div.error__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
  width: 100%;
}

div.error__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}

div.header-desctop div.siteuser__notauth div.form__field-name {
  color: var(--mechanic-text-muted);
  font-size: 12px;
  font-family: "Roboto", "Arial", sans-serif;
}

div.product__container {
  display: flex;
}

div.product__category,
div.product__item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

div.product__filtr > form {
  border-bottom: 1px solid var(--mechanic-teal);
  border-left: 1px solid var(--mechanic-teal);
  border-right: 1px solid var(--mechanic-teal);
  background-color: #f9f9f9;
  padding: 15px;
  display: none;
}

div.product__filtr > form.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 991.98px) {
  div.product__filtr > form.active {
    flex-direction: row;
  }
}

@media (min-width: 991.98px) {
  div.product__filtr > form.horizontal.active {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 991.98px) {
  div.product__filtr > form.vertical.active {
    flex-direction: column;
  }
}

div.product__filtr > form div.block {
  /*
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
  */
  margin-bottom: 5px;
  width: 100%;
}
@media (min-width: 991.98px) {
  div.product__filtr > form div.block {
    margin-right: 15px;
    margin-bottom: 0px;
  }
}

div.product__filtr > form div.twoblock {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 5px;
}
@media screen and (max-width: 700px) {
  div.product__filtr > form div.twoblock {
    display: block;
    margin-bottom: 0px;
  }
}

div.product__filtr > form div.twoblock div.block {
  width: 49%;
  margin: 0px;
}
@media screen and (max-width: 700px) {
  div.product__filtr > form div.twoblock div.block {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
}

div.product__filtr > form div.block > a.submit {
  padding: 10px 20px;
  width: min-content;
  height: min-content;
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  margin: 5px 0px;
  cursor: pointer;
  text-decoration: none;
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  color: var(--form-color-btn-text);
  min-width: 90px;
  text-align: center;
}

div.product__filtr > form div.block div.name {
  font-weight: bold;
  margin-bottom: 2px;
}

div.product__filtr > form div.block div.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
}

div.product__items {
  margin-top: 20px;
}

ul.product__list,
ul.offer__list {
  display: flex;
  flex-direction: column;
}

div.product__items ul.product__list > li,
div.product__items ul.offer__list > li {
  list-style: none;
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 -1px 0 0 #fff;
  padding: 10px;
  margin-bottom: 0.2em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--form-radius-border);
}

div.product__items ul.product__list > li:hover,
div.product__items ul.offer__list > li:hover {
  border-color: var(--mechanic-teal);
  box-shadow: 0 2px 12px var(--mechanic-teal-light);
}

ul.offer__list li div.offer__variant {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

ul.offer__list li div.offer__variant a.submit {
  width: min-content;
  height: min-content;
  background-color: var(--form-color-btn-bg);
  border: 1px solid var(--form-color-border);
  border-radius: var(--form-radius-border);
  color: var(--form-color-btn-text);
  font-size: 12px;
  font-weight: bold;
  font-family: "Roboto", "Arial", sans-serif;
  cursor: pointer;
  text-decoration: none;
  min-width: 90px;
  text-align: center;
  margin: 5px 0px;
  padding: 8px;
}

ul.offer__list li div.offer__variant span {
  flex-grow: 1;
}

div.product__items ul.product__list li.base {
  height: 150px;
}
@media screen and (max-width: 700px) {
  div.product__items ul.product__list li.base {
    height: 300px;
    display: flex;
    flex-direction: column;
  }
}

div.product__items ul.product__list li.offers {
  height: max-content;
  overflow: visible;
  display: none;
}

div.product__items ul.product__list li.offers.active {
  display: block;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--form-radius-border);
}

div.product__item ul.product__list li.base {
  list-style: none;
  display: flex;
  align-items: flex-start;
  border: 1px solid #ddd;
  border-radius: var(--form-radius-border);
  padding: 1em;
  margin-bottom: 1em;
}
@media screen and (max-width: 700px) {
  div.product__item ul.product__list li.base {
    flex-direction: column;
  }
}

div.product__item ul.product__list li.base product_info {
  flex-grow: 1;
  margin-left: 1em;
}

div.product__items div.product_image,
div.product__item div.product_image {
  position: relative;
  height: 130px;
  width: 140px;
}
@media screen and (max-width: 700px) {
  div.product__items div.product_image,
  div.product__item div.product_image {
    width: 100%;
    margin-bottom: 1em;
  }
}

div.product__items div.product_image {
  border-right: 1px solid #ddd;
}
@media screen and (max-width: 700px) {
  div.product__items div.product_image {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
}

div.product__item div.product_image {
  margin-right: 1em;
}
@media screen and (max-width: 700px) {
  div.product__item div.product_image {
    margin-right: 0;
  }
}

div.product_image > a {
  position: relative;
  display: block;
  height: 130px;
}

div.product_image > a > img {
  max-height: 130px !important;
  max-width: 130px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

div.product__items div.product_info {
  text-align: left;
  overflow: hidden;
  height: 84px;
  line-height: 1.2em;
  color: #666;
}
@media screen and (min-width: 699.98px) {
  div.product__items div.product_info {
    position: absolute;
    top: 10px;
    left: 160px;
    right: 200px;
  }
}

div.product_info a {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
  font-size: 14px;
  color: #666;
}

div.product_offers {
  position: absolute;
  left: 160px;
  bottom: 10px;
  width: 200px;
  font-size: 14px;
  background: #f2f2f2;
  padding: 2px 10px 0px 2px;
  border: 1px solid #ddd;
  border-radius: 3px;
}
@media screen and (max-width: 700px) {
  div.product_offers {
    left: 0;
    bottom: 30px;
    padding: 7px 3px 5px 0px;
    position: relative;
    text-align: left;
    line-height: 14px;
    margin-top: 35px;
  }
}

button.product__offersin {
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  padding: 0.5em 1em;
  margin: 0px;
  color: var(--mechanic-teal);
  text-wrap: nowrap;
}

div.product_manufacturer,
div.product_model,
div.product__prop {
  color: #222;
}

div.product_prop {
  display: flex;
  align-items: center;
}

div.product_manufacturer span:first-child,
div.product_number span:first-child,
div.product_model span:first-child,
div.product_prop span:first-child {
  font-weight: bold;
  font-size: 15px;
  margin-right: 15px;
}

div.product_manufacturer span:first-child,
div.product_number span:first-child {
  color: var(--mechanic-teal);
}

div.product_caption {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
}

div.product_caption svg {
  margin-right: 5px;
}

div.product_price {
  position: absolute;
  right: 10px;
  bottom: 65px;
}
@media screen and (max-width: 700px) {
  div.product_price {
    bottom: 20px;
  }
}

div.product_price > div {
  text-align: left;
}

div.product_price > div:first-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

div.product_price > div:first-child .currency {
  color: var(--mechanic-teal);
  font-size: 18px;
}

div.product_price > div:first-child .price {
  color: var(--mechanic-teal);
  font-size: 20px;
  line-height: 28px;
}

@media screen and (max-width: 700px) {
  div.product_price > div:last-child {
    padding-top: 5px;
  }
}

div.product_prices div:last-child {
  color: #777777;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 11px !important;
}

div.catalog__filtr-tab {
  display: flex;
  align-items: end;
}

div.catalog__filtr-tab > a {
  min-width: 130px;
  border: 1px solid var(--mechanic-teal);
  color: #000;
  font-size: 15px;
  background-color: #f9f9f9;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

div.catalog__filtr-tab > a.active {
  border-bottom: none;
  font-weight: bold;
}

div.catalog__filtr-tab > span {
  border-bottom: 1px solid var(--mechanic-teal);
}

div.catalog__filtr-tab > span:first-child {
  max-width: 10px;
}

div.catalog__filtr-tab > span:last-child {
  flex-grow: 1;
}

form.catalog__filtr div.block.sizes {
  display: flex;
  padding: 1em;
}
@media screen and (max-width: 700px) {
  form.catalog__filtr div.block.sizes {
    display: block;
  }
}

form.catalog__filtr div.block.sizes > fieldset {
  padding: 10px 15px;
  border: 1px #ccc groove;
  margin-right: 15px;
}
@media screen and (max-width: 700px) {
  form.catalog__filtr div.block.sizes > fieldset {
    margin-right: 0px;
    margin-bottom: 5px;
  }
}

form.catalog__filtr div.block.sizes > fieldset:last-child {
  margin-right: 0px;
}

form.catalog__filtr div.block.sizes > fieldset legend {
  color: darkgrey;
  font-weight: bold;
  font-size: 16px;
  padding: 0px 5px;
}

form.catalog__filtr div.block.sizes > fieldset div.ap__svars {
  margin-top: 5px;
}

form.catalog__filtr div.block.sizes div.ap__svars > div {
  padding-bottom: 4px;
}

form.catalog__filtr div.block.sizes div.ap__svars > div a {
  color: #000;
  cursor: pointer;
}

form.catalog__filtr div.block.sizes div.ap__svars > div a.front {
  color: #a94442;
}

form.catalog__filtr div.block.sizes div.ap__svars > div a:first-child:before,
form.catalog__filtr div.block.sizes div.ap__svars > div a:last-child:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  background: url(/img/site/tire_gray.png) no-repeat;
  background-size: auto;
  position: relative;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
}

form.catalog__filtr div.block.sizes div.ap__svars > div a:first-child:before {
  margin-right: 5px;
}

form.catalog__filtr div.block.sizes div.ap__svars > div a:last-child:after {
  margin-left: 5px;
}

form.catalog__filtr div.block.sizes div.ap__svars > div a.rear {
  color: #1e6abc;
}

form.catalog__filtr div.search__results {
  position: absolute;
  width: 100%;
  max-height: 300px;
  display: none;
  background: #fff;
  overflow-y: auto;
  border: 1px solid var(--bg-major-shade);
  border-radius: var(--controls-form-border-radius);
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  z-index: 1050;
  top: 100%;
  border-top: 0;
}

div.pager_offerpages {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

div.pager_container.top div.pager_offerpages {
  padding-bottom: 0.5em;
}

div.pager_container.bottom div.pager_offerpages {
  padding-top: 0.5em;
}

div.pager_offerpages a {
  border-radius: 50%;
  border: 1px solid #2828f0;
  width: 20px;
  height: 20px;
  text-align: center;
  position: relative;
}

div.pager_offerpages a > i {
  position: absolute;
  top: 1px;
}

div.pager_offerpages a:first-child {
  margin-left: 0.5em;
}

div.pager_offerpages a:first-child > i {
  left: 7px;
}

div.pager_offerpages a:last-child {
  margin-right: 0.5em;
}

div.pager_offerpages a:last-child > i {
  right: 6px;
}

div.product_crosses {
  display: flex;
  height: max-content;
}

div.product_crosses span {
  color: var(--mechanic-teal);
}

div.product_crosses ul {
  flex-grow: 1;
  margin-left: 0.5em;
}

div.product_crosses ul > li {
  list-style: none;
  display: flex;
}

div.product_crosses ul > li > span:first-child {
  color: var(--mechanic-text-muted);
  margin-right: 0.5em;
}

div.product_crosses ul > li > span:last-child {
  color: var(--mechanic-navy);
}

li.order__offer {
  list-style: none;
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 -1px 0 0 #fff;
  padding: 10px;
}

li.order__offer span.number {
  font-weight: bold;
  text-transform: uppercase;
  color: #177e80;
}

li.order__offer span.brand {
  color: gray;
}

li.order__offer span.name {
  color: #000;
  font-size: 12px;
  font-style: italic;
}

li.order__offer a.user {
  text-decoration: none;
  color: #000 !important;
}

li.order__offer div.form__field-buttons {
  position: relative;
}

li.order__offer div.form__field-buttons > div {
  position: absolute;
  display: none;
  z-index: 10002;
  background-color: #ffffff;
  padding: 20px;
  min-width: 280px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

li.order__offer div.form__field-buttons > div.active {
  display: block;
  top: -20px;
  left: 0px;
  width: 50%;
}
@media (max-width: 767.98px) {
  li.order__offer div.form__field-buttons > div.active {
    width: 100%;
  }
}

div.order__dropform {
  padding-top: 1.5em;
}

div.order__dropform form textarea {
  width: 400px;
  height: 120px;
}
@media (max-width: 767.98px) {
  div.order__dropform form textarea {
    width: 100%;
  }
}

div.order__dropform form a.submit {
  width: inherit;
}

ul.order__filtr {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
  ul.order__filtr {
    flex-direction: column;
  }
}

ul.order__filtr li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 20px;
}
@media (max-width: 767.98px) {
  ul.order__filtr li {
    margin-right: 0px;
  }
}

div.order__item {
  display: flex;
  flex-direction: column;
}

div.order__item-block > div.caption {
  background-color: var(--mechanic-teal-hover);
  color: #fff;
  text-transform: uppercase;
  padding: 0.5em;
  font-size: var(--font-size);
  font-weight: bold;
}

div.order__item-block > ul,
div.order__item-block > ul > li > span:last-child > ul.chain {
  width: 100%;
  list-style: none;
}

div.order__item-block > ul {
  padding: 0.5em;
}

div.order__item-block > ul > li,
div.order__item-block > ul > li > span:last-child > ul.chain > li {
  display: flex;
  flex-direction: row;
  color: var(--form-color-text);
}

div.order__item-block > ul > li > span:first-child {
  margin-right: 1em;
  font-weight: bold;
}

div.order__item-block > ul > li > span:last-child {
  flex-grow: 1;
}

/* Элемент размытия заднего фона (оверлей) */
.chat-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px); /* Легкое размытие для эстетики */
}

/* Контейнер самого чата */
.chat-modal {
  width: 100%;
  max-width: 480px;
  height: 80vh;
  max-height: 650px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  flex-direction: column; /* Элементы выстраиваются строго вертикально */
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Шапка */
.chat-header {
  padding: 15px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #eef2f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatTitle {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.companion-status {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.companion-status.online {
  color: #2ecc71;
  font-weight: bold;
} /* Зеленый онлайн */
.chat-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}

.chat-close-btn:hover {
  color: #333;
}

/* Область сообщений */
.chat-body {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f4f7f6;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Спиннер загрузки */
.chat-spinner-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.chat-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #008080; /* Наш бирюзовый */
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Стилизация облачков (сообщений) */
.chat-msg {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  max-width: 75%;
}

/* Мои сообщения (Покупатель - Справа, Бирюзовые) */
.chat-msg.mine {
  align-self: flex-end;
}

.chat-msg.mine .bubble {
  background: #008080;
  color: #ffffff;
  border-radius: 16px 16px 4px 16px; /* Закругление углов */
}

/* Чужие сообщения (Поставщик - Слева, Серые) */
.chat-msg.theirs {
  align-self: flex-start;
}

.chat-msg.theirs .bubble {
  background: #ffffff;
  color: #333333;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bubble {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.chat-file {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

/* Мета-информация под сообщением */
.msg-meta {
  font-size: 10px;
  color: #999;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.chat-msg.theirs .msg-meta {
  justify-content: flex-start;
}

.msg-time {
  margin-right: 4px;
}

.msg-status {
  font-size: 12px;
  color: #aaa;
  line-height: 1;
}

.msg-status.read {
  color: #008080;
} /* Прочитано - бирюзовые галочки */
/* Нижняя панель */
.chat-footer {
  padding: 12px 15px;
  background: #ffffff;
  border-top: 1px solid #eef2f3;
  display: flex;
  align-items: center;
}

.file-upload-label {
  font-size: 20px;
  margin-right: 12px;
  cursor: pointer;
  color: #7f8c8d;
}

.file-upload-label:hover {
  color: #008080;
}

#chatInput {
  flex: 1;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

#chatInput:focus {
  border-color: #008080;
}

#chatSendBtn {
  background: #008080;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
}

#chatSendBtn:hover {
  background: #006666;
}

/* Дополнительные элементы */
.typing-indicator {
  font-size: 12px;
  color: #7f8c8d;
  font-style: italic;
  padding: 4px 20px;
  background: #f4f7f6;
  display: none;
}

.typing-indicator.active {
  display: block;
}

.day-divider {
  text-align: center;
  margin: 15px 0;
  font-size: 11px;
  color: #95a5a6;
  position: relative;
}

.day-divider span {
  background: #f4f7f6;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.day-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #e2e8f0;
  z-index: 1;
}

/* =========================================================== */
/* ================ MECHANIC BRAND — последним =============== */
/* =========================================================== */
/*
 * ============================================================
 *  MECHANIC — Брендовые точечные правки
 *  Файл: _mechanic-brand.scss
 *  Подключается ПОСЛЕДНИМ в sitestyle.scss
 *
 *  Здесь только то, что нельзя закрыть переменными:
 *  - Логотип (SVG-знак + текст вместо PNG)
 *  - Цвет текста в шапке (меню на тёмном фоне)
 *  - Цвет контрольных элементов (checkbox, radio) — #7e171a → Teal
 *  - Мобильные кнопки шапки
 *  - Hover-эффекты с Teal-подсветкой
 *  - Акцент поиска
 *
 *  БЕЗ !important. Без войн специфичности.
 *  Работает через увеличение специфичности селекторов.
 * ============================================================
 */
/* ===========================================================
   ШАПКА — цвет фона полос (belt навигации и логотипа)
   =========================================================== */
/*
 * _header.scss теперь использует var(--color-header-bg) для .header
 * Но __part-top и __part-bottom не имеют своего background в _header.scss —
 * они наследуют от .header. Всё равно задаём явно для надёжности.
 */
.header {
  background-color: var(--mechanic-navy);
}

.header__part-top {
  border-bottom-color: var(--mechanic-border-dark);
}

.header__part-bottom {
  padding: 14px 0;
}

/* Wordmark "Mechanic" справа от знака — белый цвет */
.header__area-logo .header__logo::after {
  color: var(--mechanic-text-light) !important;
}

/* ===========================================================
   ШАПКА — логотип, текст на тёмном фоне
   =========================================================== */
/*
 * Логотип: скрываем старый PNG, рисуем SVG-знак + wordmark.
 * PHP-шаблон: <a href="/" class="header__logo"><img src="/img/site/logo-top.png"></a>
 * Решение: img скрыт через visibility, логотип рисуется псевдоэлементами.
 */
.header__area-logo .header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

.header__area-logo .header__logo img {
  /* Скрываем старый PNG логотип */
  display: none;
}

/* SVG-знак Mechanic (вариант D: острая M, провал до низа) */
.header__area-logo .header__logo::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--mechanic-teal);
  border-radius: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 24 L7 8 L16 20 L25 8 L25 24' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='butt' stroke-linejoin='miter' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Wordmark "Mechanic" */
.header__area-logo .header__logo::after {
  content: "Mechanic";
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  color: var(--mechanic-text-light);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ===========================================================
   ШАПКА — текст навигации и контролов на тёмном фоне
   =========================================================== */
/*
 * _header.scss задаёт: .header__menu a { color: rgba(41,42,49,0.75) }
 * Это нечитаемо на тёмном фоне. Повышаем специфичность.
 */
.header.header .header__menu a,
.header.header .header__controls a {
  color: var(--mechanic-text-muted);
}

.header.header .header__menu a:hover,
.header.header .header__controls a:hover {
  color: var(--mechanic-text-light);
}

/* Активный пункт меню */
.header.header .header__menu a.active,
.header.header .menu__list li.active > a {
  color: var(--mechanic-teal);
}

/* Кнопка поиска — акцент */
.header__search-btn {
  background-color: var(--mechanic-teal);
  border-color: var(--mechanic-teal);
  color: #ffffff;
}

.header__search-btn:hover {
  background-color: var(--mechanic-teal-hover);
  border-color: var(--mechanic-teal-hover);
}

/* Поле поиска — на тёмном фоне */
.header__area-search form input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--mechanic-text-light);
}

.header__area-search form input::placeholder {
  color: var(--mechanic-text-muted);
}

.header__area-search form input:focus {
  background: rgba(8, 145, 178, 0.08);
  border-color: var(--mechanic-teal);
  outline: none;
}

/* Кнопка "Войти" — контурная на тёмном фоне */
div.header__controls div.header__control-user a.border {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--mechanic-text-muted);
  border-radius: var(--controls-btn-border-radius);
}

div.header__controls div.header__control-user a.border:hover {
  border-color: var(--mechanic-teal);
  color: var(--mechanic-teal);
}

/* Геолокация */
div.header__controls div.header__control-location a.border {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--mechanic-text-muted);
}

/* ===========================================================
   МОБИЛЬНАЯ ШАПКА
   =========================================================== */
/* Логотип в мобильной шапке — то же самое */
.header__mobile-panel__logo .header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
}

.header__mobile-panel__logo .header__logo img {
  display: none;
}

.header__mobile-panel__logo .header__logo::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background-color: var(--mechanic-teal);
  border-radius: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 24 L7 8 L16 20 L25 8 L25 24' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='butt' stroke-linejoin='miter' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  flex-shrink: 0;
}

.header__mobile-panel__logo .header__logo::after {
  content: "Mechanic";
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  color: var(--mechanic-text-light);
  letter-spacing: -0.03em;
}

/* Иконки-кнопки мобильной шапки — на тёмном фоне */
.header__mobile .control-btn {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--mechanic-border-dark);
  color: var(--mechanic-text-muted);
}

.header__mobile a.control-btn {
  color: var(--mechanic-text-muted);
}

.header__mobile a.control-btn:hover {
  color: var(--mechanic-teal);
  background-color: var(--mechanic-teal-light);
}

/* ===========================================================
   ВЫПАДАЮЩАЯ ПАНЕЛЬ ЛОГИНА (navbar-collapse)
   =========================================================== */
div.header__controls span.dropdown-toggle div.navbar-collapse {
  background: var(--mechanic-surface);
  border-color: var(--mechanic-border-dark);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Ссылки в дропдауне — на тёмном фоне */
div.navbar-collapse div.form__field-buttons a,
header div.form__field-buttons a {
  color: var(--mechanic-text-muted);
}

div.form__field-buttons a:hover,
div.form__field-buttons a:active,
div.form__field-buttons a:focus {
  color: var(--mechanic-teal);
  background: none;
  box-shadow: none;
  border-color: var(--mechanic-border-dark);
}

/* Иконки FontAwesome в дропдауне */
div.form__field-buttons .btn::before {
  color: var(--mechanic-text-muted);
}

/* Разделитель между блоками */
header div.form__field-buttons > div {
  border-bottom-color: var(--mechanic-border-dark);
}

/* ===========================================================
   ЧЕКБОКСЫ И РАДИОКНОПКИ — меняем старый красный на Teal
   =========================================================== */
/*
 * _form.scss использует переменную $cbg_color: #177e80 — это SCSS-переменная,
 * не CSS Custom Property, поэтому она бакится в base64 SVG при компиляции.
 * Перекрываем только рамки через CSS — галочки обновятся только при пересборке
 * (Дмитрий меняет $cbg_color: #0891b2 в _form.scss — одна строка).
 * 
 * CSS ниже перекрывает цвет рамок без пересборки.
 */
input[type=checkbox] + label::before {
  border-color: var(--mechanic-teal);
}

input[type=checkbox]:checked + label::before {
  border-color: var(--mechanic-teal);
}

input[type=checkbox]:not(:disabled):not(:checked) + label:hover::before {
  border-color: var(--mechanic-teal);
}

input[type=checkbox]:focus:not(:checked) + label::before {
  border-color: var(--mechanic-teal);
}

/* Для _custom.scss (красные бордеры #7e171a → Teal) */
input[type=checkbox] + label::before {
  border-color: var(--mechanic-teal);
}

/* ===========================================================
   КАТАЛОГ — hover-эффекты карточек
   =========================================================== */
/* Табы фильтра — активный таб */
div.catalog__filtr-tab > a.active {
  color: var(--mechanic-teal);
  border-color: var(--mechanic-teal);
  border-bottom-color: transparent;
  font-weight: 700;
}

div.catalog__filtr-tab > a:hover {
  color: var(--mechanic-teal);
}

/* Кнопка применить фильтр */
div.product__filtr > form div.block > a.submit {
  background-color: var(--mechanic-teal);
  border-color: var(--mechanic-teal);
  border-radius: var(--form-radius-border);
  transition: background-color 0.2s ease;
}

div.product__filtr > form div.block > a.submit:hover {
  background-color: var(--mechanic-teal-hover);
}

/* Кнопки в карточке оффера */
ul.offer__list li div.offer__variant a.submit {
  background-color: var(--mechanic-teal);
  border-color: var(--mechanic-teal);
}

ul.offer__list li div.offer__variant a.submit:hover {
  background-color: var(--mechanic-teal-hover);
}

/* ===========================================================
   КНОПКИ — общий вид
   =========================================================== */
/*
 * _buttons.scss задаёт *.btn с жёсткими цветами s01/s02/s03.
 * Новые классы s01/s02 не используются в шапке (там form-color-btn-bg).
 * Оставляем их "как есть" — они для других разделов.
 * 
 * Кнопки через var(--form-color-btn-bg) уже получили Teal через _variables.scss.
 * Добавляем только скругление и hover-glow.
 */
div.xlsfields__button a,
div.xlsfields__ctrl a,
div.xlstemplate__btns a {
  border-radius: var(--form-radius-border);
  transition: var(--btn-transition);
}

div.xlsfields__button a:hover,
div.xlsfields__ctrl a:hover {
  background-color: var(--mechanic-teal-hover);
  border-color: var(--mechanic-teal-hover);
}

/* ===========================================================
   FOOTER — акцент снизу
   =========================================================== */
.footer {
  background-color: #f1f5f9;
  border-top-color: #e2e8f0;
}

/* ===========================================================
   ХЛЕБНЫЕ КРОШКИ — Teal ссылки
   =========================================================== */
.breadcrumbs a {
  color: #64748b;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--mechanic-teal);
}

/* ===========================================================
   ПАГИНАЦИЯ — активная страница
   =========================================================== */
/*
 * _pager.scss содержит стили пагинации.
 * Активная страница получает Teal-фон.
 */
.pager li.active a,
.pager li.active span,
.navigation .current,
.navigation a.current {
  background-color: var(--mechanic-teal);
  border-color: var(--mechanic-teal);
  color: #ffffff;
}

.pager li a:hover,
.navigation a:hover {
  border-color: var(--mechanic-teal);
  color: var(--mechanic-teal);
}
