/* NORMALIZE */

*,
*::after,
*::before {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}



img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

body {
    min-height: 100vh;
}

button {
    border: none;
    outline: none;
}

input,
button,
textarea,
select {
    font: inherit;
}


html,
body {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

button, a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

button {
    outline: none;
    border: none;
    cursor: pointer;
}


figure {
    margin: 0;
    padding: 0;
    display: block;
}

/* VARIABLES */

:root {
  --index: calc(1vw + 1vh);
  /* Мобилка: системный стек (на iPhone — San Francisco через system-ui / -apple-system) */
  --defaultFont: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --latoFont: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --red: #EB5757;
  --redlight: #FF6569;
  --alt: #AFB4BF;
  --gray: #636D7A;
  --lightgray: #ECEEF2;
  --links: #3498DB;
  --ms-btn-bg: #3498DB;
  --ultimate-grey: #949597;
  --text-1f: #1f1f1f;
  --green: #27AE60;
  --max-product-width: calc(var(--ms-product-thumb-w, 520) * 1px);
}

/* Десктоп: Inter (текст) и Lato (цифры/цены); @font-face в font.css */
@media screen and (min-width: 992px) {
  :root {
    --defaultFont: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --latoFont: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
}

.fixed body {
  overflow: hidden;
  transition: all 0.12s linear;
}
.fixed body::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
  z-index: 999;
  transition: all 0.12s linear;
}

.backdrop body {
  transition: all 0.12s linear;
}
.backdrop body::after {
  opacity: 0.3;
  visibility: visible;
  transition: all 0.12s linear;
}

body {
  position: relative;
  font-family: var(--defaultFont);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 22px;
  color: #000;
  background: #fff;
  min-width: 320px;
  /* clip не создаёт scrollport: hidden ломает position:sticky у колонок */
  overflow-x: clip;
}
body:has(.header-simple) .main-wrapper {
  padding-top: 90px;
}
body::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.12s linear;
}


.hidden {
  display: none;
}

.btn-link:focus, .btn-link:hover {
  transition: all 0.12s linear;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  /* Горизонталь режем здесь (слайдер, лента товаров), вертикаль не трогаем — иначе sticky не работает */
  overflow-x: clip;
  min-height: 100vh;
  position: relative;
  padding-top: 54px;
}

[class*=__container] {
  max-width: 1532px;
  width: 100%;
  margin: auto;
  padding: 0 16px;
}

/* Bootstrap .container приводим к ширине контейнера темы,
   чтобы стандартные страницы ocStore не выбивались по ширине */
.container {
  max-width: 1532px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Универсальный контейнер внутренних страниц темы (вместо Bootstrap .container) */
.page__container {
  padding-top: 24px;
}

/* Внутренние страницы: отступ сверху после хедера.
   После </header> в DOM: .nav-mobile-backdrop + nav.nav-mobile, затем контент.
   Используем ~ (не +): после {{ header }} часто идут <link>/<style> — сосед +*
   попадал на них, и у #common-success / товара / поиска отступа не было.
   На главной (ms-page-home) правило не действует. */
body.ms-page-inner .main-wrapper > .nav-mobile ~ .container,
body.ms-page-inner .main-wrapper > .nav-mobile ~ .page__container,
body.ms-page-inner .main-wrapper > .nav-mobile ~ [class*="-page"] {
  padding-top: 24px;
}

@media screen and (max-width: 767px) {
  .page__container,
  body.ms-page-inner .main-wrapper > .nav-mobile ~ .container,
  body.ms-page-inner .main-wrapper > .nav-mobile ~ .page__container,
  body.ms-page-inner .main-wrapper > .nav-mobile ~ [class*="-page"] {
    padding-top: 12px;
  }
}

/* LOADED CONTENTS */

html.loaded .nav-mobile,
html.loaded .search-vars {
  display: block;
}

/* END LOADED CONTENTS */

h2 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  line-height: normal;
}
h2.section-title {
  margin-bottom: 20px;
}

h3 {
  font-size: 19px;
  font-weight: bold;
  line-height: normal;
  color: #000;
}
h3.section-title {
  margin-bottom: 28px;
}

h5 {
  font-size: 15px;
  font-weight: bold;
  color: #000;
  line-height: normal;
}

p {
  font-size: 15px;
  line-height: 1.6;
  color: inherit;
}

/* ------------------------------------------------------------
   Текстовый контент темы: класс .content
   (HTML из редактора: описание товара/категории, info, модули).

   НЕ путать с #content — это колонка макета OpenCart, не типографика.
   НЕ вешать на .tab-content целиком — там ещё характеристики и отзывы.

   Алиасы (пока чужие шаблоны без .content):
   #tab-description, .yooai-post__content
------------------------------------------------------------ */
.content,
.yooai-post__content,
#tab-description {
  --content-text: 17px;
  --content-lh: 1.65;
  --content-gap: 12px;
  --content-gap-lg: 20px;
  --content-accent: var(--links);
  --content-table-border: #e5eaf0;
  --content-table-head: #f1f5f9;
  --content-table-muted: #475569;
  --content-table-cell: #334155;
  --content-table-row: #eef1f5;
  color: #1f1f1f;
  font-size: var(--content-text);
  line-height: var(--content-lh);
}

.content > *:first-child,
.yooai-post__content > *:first-child,
#tab-description > *:first-child,
#tab-description > .content > *:first-child {
  margin-top: 0;
}

.content p,
.yooai-post__content p,
#tab-description p {
  margin: 0 0 var(--content-gap) 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.content p:last-child,
.yooai-post__content p:last-child,
#tab-description p:last-child {
  margin-bottom: 0;
}

/* Подзаголовки в тексте — компактные, не page-title */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.yooai-post__content h1,
.yooai-post__content h2,
.yooai-post__content h3,
.yooai-post__content h4,
.yooai-post__content h5,
.yooai-post__content h6,
#tab-description h1,
#tab-description h2,
#tab-description h3,
#tab-description h4,
#tab-description h5,
#tab-description h6 {
  margin: 1.35em 0 0.55em 0;
  line-height: 1.3;
  color: #0f172a;
  font-family: inherit;
  letter-spacing: normal;
}

.content h1:first-child,
.content h2:first-child,
.content h3:first-child,
.content h4:first-child,
.content h5:first-child,
.content h6:first-child,
.yooai-post__content h1:first-child,
.yooai-post__content h2:first-child,
.yooai-post__content h3:first-child,
.yooai-post__content h4:first-child,
#tab-description h1:first-child,
#tab-description h2:first-child,
#tab-description h3:first-child,
#tab-description h4:first-child {
  margin-top: 0;
}

.content h1,
.yooai-post__content h1,
#tab-description h1 {
  font-size: 26px;
  font-weight: 700;
}

.content h2,
.yooai-post__content h2,
#tab-description h2 {
  font-size: 22px;
  font-weight: 700;
}

.content h3,
.yooai-post__content h3,
#tab-description h3 {
  font-size: 19px;
  font-weight: 600;
}

.content h4,
.yooai-post__content h4,
#tab-description h4 {
  font-size: 17px;
  font-weight: 600;
}

.content h5,
.content h6,
.yooai-post__content h5,
.yooai-post__content h6,
#tab-description h5,
#tab-description h6 {
  font-size: 16px;
  font-weight: 600;
}

@media screen and (min-width: 992px) {
  .content h1,
  .yooai-post__content h1,
  #tab-description h1 {
    font-size: 28px;
  }
  .content h2,
  .yooai-post__content h2,
  #tab-description h2 {
    font-size: 24px;
  }
  .content h3,
  .yooai-post__content h3,
  #tab-description h3 {
    font-size: 20px;
  }
}

/* Списки: тот же шрифт, что у p; ul — тире; ol — мягкие номера */
.content ul,
.content ol,
.yooai-post__content ul,
.yooai-post__content ol,
#tab-description ul,
#tab-description ol {
  margin: 1em 0 1.75em 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.content ol,
.yooai-post__content ol,
#tab-description ol {
  counter-reset: ms-ol;
}

.content li,
.yooai-post__content li,
#tab-description li {
  position: relative;
  margin: 0 0 10px 0 !important;
  padding-left: 28px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.content li:last-child,
.yooai-post__content li:last-child,
#tab-description li:last-child {
  margin-bottom: 0 !important;
}

.content ul > li::before,
.yooai-post__content ul > li::before,
#tab-description ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 14px;
  height: 2px;
  background: var(--content-accent, var(--links));
  transform: translateY(-50%);
}

.content ol > li,
.yooai-post__content ol > li,
#tab-description ol > li {
  counter-increment: ms-ol;
  padding-left: 34px;
}

.content ol > li::before,
.yooai-post__content ol > li::before,
#tab-description ol > li::before {
  content: counter(ms-ol);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--content-accent, var(--links)) 14%, #fff);
  color: var(--content-accent, var(--links));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8em;
  line-height: 1;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--content-accent, var(--links)) 10%, transparent);
}

.content li > ul,
.content li > ol,
.yooai-post__content li > ul,
.yooai-post__content li > ol,
#tab-description li > ul,
#tab-description li > ol {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Таблицы из CKEditor — карточка.
   Шапка часто БЕЗ <thead> (первая строка tbody из одних th) —
   поэтому красим и thead, и первую строку без td. */
.content table,
.yooai-post__content table,
#tab-description table {
  width: 100%;
  max-width: 100%;
  margin: 1.35em 0 1.75em 0;
  border: 1px solid var(--content-table-border, #e5eaf0);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.content th,
.content td,
.yooai-post__content th,
.yooai-post__content td,
#tab-description th,
#tab-description td {
  padding: 14px 18px;
  vertical-align: top;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: 0;
  border-bottom: 1px solid var(--content-table-row, #eef1f5);
  color: var(--content-table-cell, #334155);
  background: #fff;
}

.content thead th,
.content thead td,
.yooai-post__content thead th,
.yooai-post__content thead td,
#tab-description thead th,
#tab-description thead td,
.content tbody > tr:first-child:not(:has(td)) > th,
.yooai-post__content tbody > tr:first-child:not(:has(td)) > th,
#tab-description tbody > tr:first-child:not(:has(td)) > th {
  background: var(--content-table-head, #f1f5f9);
  color: var(--content-table-muted, #475569);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border-bottom-color: var(--content-table-border, #e5eaf0);
}

/* Подписи строк (th в строке с td) — без серого фона шапки */
.content tbody > tr:has(td) > th,
.yooai-post__content tbody > tr:has(td) > th,
#tab-description tbody > tr:has(td) > th {
  font-weight: 600;
  color: #0f172a;
  background: #fff;
}

.content tr:last-child > th,
.content tr:last-child > td,
.yooai-post__content tr:last-child > th,
.yooai-post__content tr:last-child > td,
#tab-description tr:last-child > th,
#tab-description tr:last-child > td {
  border-bottom: 0;
}

.content thead tr:first-child > th:first-child,
.content thead tr:first-child > td:first-child,
.yooai-post__content thead tr:first-child > th:first-child,
.yooai-post__content thead tr:first-child > td:first-child,
#tab-description thead tr:first-child > th:first-child,
#tab-description thead tr:first-child > td:first-child,
.content tbody > tr:first-child:not(:has(td)) > th:first-child,
.yooai-post__content tbody > tr:first-child:not(:has(td)) > th:first-child,
#tab-description tbody > tr:first-child:not(:has(td)) > th:first-child {
  border-top-left-radius: 13px;
}

.content thead tr:first-child > th:last-child,
.content thead tr:first-child > td:last-child,
.yooai-post__content thead tr:first-child > th:last-child,
.yooai-post__content thead tr:first-child > td:last-child,
#tab-description thead tr:first-child > th:last-child,
#tab-description thead tr:first-child > td:last-child,
.content tbody > tr:first-child:not(:has(td)) > th:last-child,
.yooai-post__content tbody > tr:first-child:not(:has(td)) > th:last-child,
#tab-description tbody > tr:first-child:not(:has(td)) > th:last-child {
  border-top-right-radius: 13px;
}

.content tbody tr:last-child > th:first-child,
.content tbody tr:last-child > td:first-child,
.yooai-post__content tbody tr:last-child > th:first-child,
.yooai-post__content tbody tr:last-child > td:first-child,
#tab-description tbody tr:last-child > th:first-child,
#tab-description tbody tr:last-child > td:first-child {
  border-bottom-left-radius: 13px;
}

.content tbody tr:last-child > th:last-child,
.content tbody tr:last-child > td:last-child,
.yooai-post__content tbody tr:last-child > th:last-child,
.yooai-post__content tbody tr:last-child > td:last-child,
#tab-description tbody tr:last-child > th:last-child,
#tab-description tbody tr:last-child > td:last-child {
  border-bottom-right-radius: 13px;
}

@media (max-width: 767px) {
  .content th,
  .content td,
  .yooai-post__content th,
  .yooai-post__content td,
  #tab-description th,
  #tab-description td {
    padding: 12px 14px;
  }
}

.content blockquote,
.yooai-post__content blockquote,
#tab-description blockquote {
  margin: 0 0 var(--content-gap-lg) 0;
  padding: 14px 18px;
  border-left: 3px solid var(--content-accent, var(--links));
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--content-accent, var(--links)) 8%, #fff);
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-style: normal;
}

.content blockquote p:last-child,
.yooai-post__content blockquote p:last-child,
#tab-description blockquote p:last-child {
  margin-bottom: 0;
}

.content hr,
.yooai-post__content hr,
#tab-description hr {
  margin: var(--content-gap-lg) 0;
  border: 0;
  border-top: 1px solid var(--content-table-border, #e5eaf0);
}

.content img,
.yooai-post__content img,
#tab-description img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.content a:not(.button):not(.btn):not(.yooai-product__cart),
.yooai-post__content a:not(.button):not(.btn):not(.yooai-product__cart),
#tab-description a:not(.button):not(.btn) {
  color: var(--links);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .content a:not(.button):not(.btn):not(.yooai-product__cart):hover,
  .yooai-post__content a:not(.button):not(.btn):not(.yooai-product__cart):hover,
  #tab-description a:not(.button):not(.btn):hover {
    color: color-mix(in srgb, var(--links) 72%, #000);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}


a {
  text-decoration: none;
  transition: color 0.12s linear, background 0.12s linear, border-color 0.12s linear, opacity 0.12s linear;
  color: inherit;
}
a:hover {
  color: var(--links);
  text-decoration: none;
}
a:focus {
  outline: none;
  outline-offset: 0;
  text-decoration: none;
  color: var(--links);
}
a.link {
  color: var(--links);
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: underline;
  text-underline-offset: 4px;
}
a.altlink {
  color: var(--links);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  border-bottom: 1px dotted var(--links);
}

button.altlink {
  padding: 0;
  background: none;
  outline: none;
  border: 0;
  cursor: pointer;
  color: var(--links);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  border-bottom: 1px dotted var(--links);
}

button {
  outline: none;
  background: transparent;
}

button[disabled], html input[disabled] {
  cursor: default;
  background: #AFB4BF;
}

select.form-control {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-shadow: none;
}

.simple-section {
  margin-bottom: 60px;
}

.hlp-link {
  display: inline-block;
  position: relative;
  color: #afb4bf;
  width: 16px;
  height: 16px;
  font-size: 16px;
  bottom: -2px;
}
.hlp-link::before {
  display: block;
  font-family: "icons";
  content: "\e910";
  line-height: 1;
}

.page-head {
  margin-bottom: 20px;
}
.page-head p {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.page-title {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  line-height: normal;
}

.page-title__query {
  font-weight: 400;
  color: var(--gray, #afb4bf);
}

/* Типовые страницы: отступ после h1 и блок кнопок */
#common-success #content > h1,
#error-not-found #content > h1,
#information-information #content > h1,
#checkout-cart .ms-cart-head {
  margin-bottom: 20px;
}

#common-success .content {
  margin-bottom: 8px;
}

#common-success .buttons,
#error-not-found .buttons {
  margin-top: 28px;
  margin-bottom: 24px;
  overflow: hidden;
}

/* a.button + :focus/:visited — иначе после клика a:focus красит текст в --links на фоне --links */
.button,
a.button,
a.button:link,
a.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  outline: none;
  background: var(--ms-btn-bg, var(--links));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 6px;
  padding: 12px 30px;
  transition: color 0.12s linear, background 0.12s linear, filter 0.12s linear;
}
.button:hover,
.button:focus,
.button:active,
a.button:hover,
a.button:focus,
a.button:active {
  background: color-mix(in srgb, var(--ms-btn-bg, var(--links)) 84%, #000);
  color: #fff;
  text-decoration: none;
}

.phone-lnk {
  display: inline-block;
  color: #000;
  font-family: var(--latoFont);
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}

.phone-link {
  display: inline-block;
  margin-bottom: 4px;
  text-decoration: none;
  color: #000;
  text-align: right;
  font-family: var(--latoFont);
  font-size: 19px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.soc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.soc-list .soc-lnk {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  transition: background-color 0.12s linear;
}
.soc-list .soc-lnk:hover {
  transition: background-color 0.12s linear;
}
.soc-list .soc-lnk::before {
  font-family: "icons";
  color: #fff;
}
.soc-list .soc-lnk.soc-vb {
  background-color: #8F5DB7;
}
.soc-list .soc-lnk.soc-vb::before {
  content: "\e909";
  font-size: 15px;
}
.soc-list .soc-lnk.soc-wp {
  background-color: #25D366;
}
.soc-list .soc-lnk.soc-wp::before {
  content: "\e908";
  font-size: 15px;
}
.soc-list .soc-lnk.soc-tg {
  background-color: #0088CC;
}
.soc-list .soc-lnk.soc-tg::before {
  content: "\e907";
  font-size: 12px;
}
.soc-list .soc-lnk.soc-inst {
  /* Градиент через background-image: иначе hover со solid-цветом сбрасывает его и иконка моргает */
  background-color: #D4223E;
  background-image: linear-gradient(181deg, #AB30A7 -2.68%, #D4223E 98.77%);
}
.soc-list .soc-lnk.soc-inst::before {
  content: "\e906";
  font-size: 13px;
}
.soc-list .soc-lnk.soc-yt {
  background-color: #C4302B;
}
.soc-list .soc-lnk.soc-yt::before {
  content: "\e903";
  font-size: 12px;
}
.soc-list .soc-lnk.soc-ok {
  background-color: #FF9205;
}
.soc-list .soc-lnk.soc-ok::before {
  content: "\e902";
  font-size: 14px;
}
.soc-list .soc-lnk.soc-vk {
  background-color: #6695BD;
}
.soc-list .soc-lnk.soc-vk::before {
  content: "\e905";
  font-size: 10px;
}
.soc-list .soc-lnk.soc-ya {
  background-color: #FFCC00;
}
.soc-list .soc-lnk.soc-ya::before {
  content: "\e901";
  font-size: 15px;
}
.soc-list .soc-lnk.soc-fb {
  background-color: #3B5998;
}
.soc-list .soc-lnk.soc-fb::before {
  content: "\e904";
  font-size: 14px;
}
.soc-list .soc-lnk.soc-max {
  background-color: #4B5BFF;
}
.soc-list .soc-lnk.soc-max::before {
  content: "\e928";
  font-size: 18px;
}
.soc-list .soc-lnk.soc-tiktok {
  background-color: #111111;
}
.soc-list .soc-lnk.soc-tiktok::before {
  content: "\f007";
  font-size: 15px;
}
.soc-list .soc-lnk.soc-rutube {
  background-color: #1A1A1A;
}
.soc-list .soc-lnk.soc-rutube::before {
  content: "\f006";
  font-size: 14px;
}

.button-callback {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--links);
  text-decoration: none;
  gap: 8px;
}
.button-callback::before {
  display: block;
  width: 22px;
  height: 20px;
  font-family: "icons";
  content: "\e90a";
  font-size: 20px;
}
.button-callback span {
  position: relative;
  display: block;
  color: inherit;
}
.button-callback span::after {
  position: absolute;
  content: "";
  left: 0;
  top: 100%;
  width: 100%;
  height: 1px;
  border-bottom: 1px dotted #0088CC;
  transition: all 0.12s linear;
}
.button-callback:hover span::after {
  opacity: 0;
  visibility: hidden;
  transition: all 0.12s linear;
}

.button-acc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 7px 0;  
}

.button-acc:hover i[class*=icon-] {
  color: var(--links);
  transition: all 0.12s linear;
}
.button-acc:hover span {
  color: var(--links);
  opacity: 1;
  transition: all 0.12s linear;
}
.button-acc i[class*=icon-] {
  font-size: 30px;
  color: #3a3f47;
  transition: all 0.12s linear;
}
.button-acc span {
  font-size: 14px;
  line-height: 1;
  transition: all 0.12s linear;
  white-space: nowrap;
  opacity:0.6;
}
.button-acc[data-counter] {
  position: relative;
}
.button-acc[data-counter]::after {
  position: absolute;
  content: attr(data-counter);
  right: -4px;
  top: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  background: var(--red);
}
.button-acc[data-counter=""]::after,
.button-acc[data-counter="0"]::after {
  display: none;
  content: none;
}



.btn-group .dropdown-menu li:not(:last-child) {
  margin-bottom: 15px;
}

.custom-radio {
  display: flex;
  position: relative;
  margin: 0;
}
.custom-radio input[type=radio] {
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
}
.custom-radio input[type=radio]:checked + span {
  outline: 2px solid var(--links);
  outline-offset: -2px;
  transition: all 0.12s linear;
}
.custom-radio span {
  display: inline-flex;
  gap: 4px;
  text-align: center;
  border-radius: 6px;
  outline: 1px solid #ECEEF2;
  background: #FFF;
  padding: 5px 12.5px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  transition: all 0.12s linear;
  cursor: pointer;
}
.custom-radio span p {
  color: #636D7A;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.custom-radioround {
  display: inline-flex;
  position: relative;
  margin: 0;
  width: -moz-fit-content;
  width: fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}
.custom-radioround.no-label > span {
  padding-left: 16px;
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.custom-radioround input[type=radio] {
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
}
.custom-radioround input[type=radio]:checked + span::before {
  outline: 4px solid var(--links);
  outline-offset: -4px;
  transition: all 0.12s linear;
}
.custom-radioround span {
  position: relative;
  display: flex;
  gap: 4px;
  padding-left: 20px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  min-height: 16px;
  cursor: pointer;
}
.custom-radioround span::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  outline: 1px solid #ECEEF2;
  background: #FFF;
  transition: all 0.12s linear;
}
.custom-radioround span p {
  color: #636D7A;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.custom-checkbox {
  display: flex;
  position: relative;
  margin: 0;
}
.custom-checkbox input[type=checkbox] {
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
}
.custom-checkbox input[type=checkbox]:checked + span::before {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDExIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGlkPSJWZWN0b3IiIG9wYWNpdHk9IjAuOCIgZD0iTTMuNzM2MDkgNy44NDI4OEwwLjE2MTA4NSA0LjM1NjI4Qy0wLjA1MzY5NDkgNC4xNDY4MSAtMC4wNTM2OTQ5IDMuODA3MTggMC4xNjEwODUgMy41OTc2OUwwLjkzODg4NCAyLjgzOTFDMS4xNTM2NiAyLjYyOTYxIDEuNTAxOTMgMi42Mjk2MSAxLjcxNjcxIDIuODM5MUw0LjEyNSA1LjE4NzgyTDkuMjgzMjkgMC4xNTcxMDFDOS40OTgwNyAtMC4wNTIzNjcxIDkuODQ2MzQgLTAuMDUyMzY3MSAxMC4wNjExIDAuMTU3MTAxTDEwLjgzODkgMC45MTU2ODlDMTEuMDUzNyAxLjEyNTE2IDExLjA1MzcgMS40NjQ3OSAxMC44Mzg5IDEuNjc0MjhMNC41MTM5MSA3Ljg0MjlDNC4yOTkxMSA4LjA1MjM3IDMuOTUwODcgOC4wNTIzNyAzLjczNjA5IDcuODQyODhaIiBmaWxsPSIjMzQ5OERCIi8+Cjwvc3ZnPgo=");
}
.custom-checkbox span {
  position: relative;
  display: inline-flex;
  gap: 4px;
  text-align: center;
  padding-left: 35px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
  transition: all 0.12s linear;
  cursor: pointer;
}
.custom-checkbox span::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  background-color: #fff;
  outline: 1px solid #ECEEF2;
}
.custom-checkbox span p {
  color: #636D7A;
  font-size: 13px;
  font-weight: 400;
  line-height: inherit;
}

.simple-textblock {
  margin-bottom: 27px;
}
.simple-textblock__inner {
  max-width: 1022px;
}

.nav-tabs {
  border-bottom: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nav-tabs::before, .nav-tabs::after {
  display: none;
}
.nav-tabs > li {
  float: none;
  margin-bottom: 0;
}
.nav-tabs > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 0;
  line-height: 1;
  border: none;
  border-radius: 4px;
  background: #F6F7F9;
  padding: 10px 20px;
  color: #071D37;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}
.nav-tabs > li > a i[class*=icon-] {
  font-size: 18px;
}
.nav-tabs > li > a i[class*=icon-]::before {
  color: #071D37;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
  cursor: default;
  border: none;
  color: #fff;
  background-color: #3498DB;
}
.nav-tabs > li.active > a i[class*=icon-]::before, .nav-tabs > li.active > a:focus i[class*=icon-]::before, .nav-tabs > li.active > a:hover i[class*=icon-]::before {
  color: #fff;
}

.tab-content > .tab-pane {
  animation: displayAnim 0.12s linear;
}

.tab-content > .active {
  animation: displayAnim 0.12s linear;
}

.spoiler-base {
  display: none;
}

body .fancybox__container {
  max-width: 100%;
}

.adv-banner {
  display: flex;
  max-width: 368px;
  overflow: hidden;
}

.adv-bannerbox {
  position: relative;
  width: 100%;
  height: 100%;
}

.breadcrumb {
  padding: 0;
  margin-bottom: 14px;
  list-style: none;
  background-color: transparent;
  border-radius: 0;
}
.breadcrumb > li {
  color: #636D7A;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.breadcrumb > li + li:before {
  color: #636D7A;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Мобильные крошки — одна строка, хвост цепочки виден сразу */
@media screen and (max-width: 767px) {
  .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 12px;
  }
  .breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .breadcrumb.is-scrolled {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 18px);
    mask-image: linear-gradient(to right, transparent, #000 18px);
  }
  .breadcrumb > li {
    float: none;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .breadcrumb > li > a {
    white-space: nowrap;
  }
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ECEEF2;
  background: #FFF;
  box-shadow: none;
  padding: 8px 40px 8px 20px;
  height: auto;
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

select.form-control {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgOCA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBpZD0iVmVjdG9yIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMuOTEyNTcgNC4zNzJMNy4wNzA2NiAxLjI1NzMzQzcuMjQzMTEgMS4wNzYgNy4yNDMxMSAwLjc5ODY2NyA3LjA3MDY2IDAuNjI4QzYuODk4MiAwLjQ1NzMzMyA2LjYwNzE5IDAuNDU3MzMzIDYuNDM0NzMgMC42MjhMMy42IDMuNDMzMzNMMC43NjUyNjkgMC42MjhDMC41ODIwMzYgMC40NTczMzMgMC4zMDE3OTYgMC40NTczMzMgMC4xMjkzNDEgMC42MjhDLTAuMDQzMTEzOCAwLjc5ODY2NyAtMC4wNDMxMTM4IDEuMDc2IDAuMTI5MzQxIDEuMjU3MzNMMy4yNzY2NSA0LjM3MkMzLjQ1OTg4IDQuNTQyNjcgMy43NDAxMiA0LjU0MjY3IDMuOTEyNTcgNC4zNzJaIiBmaWxsPSIjQUZCNEJGIi8+Cjwvc3ZnPgo=");
  background-repeat: no-repeat;
  background-position: center right 20px;
  background-size: auto;
}

.form-control:focus {
  box-shadow: none;
}

.pagination--moonshop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin: 30px 0 0 0;
  border-radius: 0;
  list-style: none;
}

.pagination--moonshop > li {
  display: flex;
}

.pagination--moonshop > li > a,
.pagination--moonshop > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 36px;
  height: 40px;
  padding: 0 12px;
  margin: 0;
  float: none;
  border: 1px solid transparent;
  border-radius: 30px;
  background: transparent;
  color: var(--text-1f);
  font-family: var(--latoFont);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.pagination--moonshop > li.dots > span {
  min-width: 24px;
  padding: 0 4px;
  color: var(--gray);
}

.pagination--moonshop > .active > a,
.pagination--moonshop > .active > a:focus,
.pagination--moonshop > .active > a:hover,
.pagination--moonshop > .active > span,
.pagination--moonshop > .active > span:focus,
.pagination--moonshop > .active > span:hover {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  background: var(--ms-btn-bg, var(--links));
  border-color: var(--ms-btn-bg, var(--links));
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.pagination--moonshop > li:first-child:not(.prev):not(.next) > a,
.pagination--moonshop > li:first-child:not(.prev):not(.next) > span,
.pagination--moonshop > li:last-child:not(.prev):not(.next) > a,
.pagination--moonshop > li:last-child:not(.prev):not(.next) > span {
  border-radius: 50%;
}

.pagination--moonshop > li.prev > a,
.pagination--moonshop > li.next > a {
  width: 56px;
  min-width: 56px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--text-1f);
  border-radius: 40px;
  color: var(--text-1f);
}

.pagination--moonshop > li.prev > a .icon-btn-arr,
.pagination--moonshop > li.next > a .icon-btn-arr {
  display: block;
  font-size: 14px;
  color: inherit;
  line-height: 1;
}

.pagination--moonshop > li.prev > a .icon-btn-arr {
  transform: rotate(180deg);
}

.pagination--moonshop > li > a:focus,
.pagination--moonshop > li > a:hover {
  z-index: 3;
  color: var(--links);
  background-color: transparent;
  border-color: transparent;
  text-decoration: none;
}

.pagination--moonshop > .active > a:focus,
.pagination--moonshop > .active > a:hover,
.pagination--moonshop > .active > span:focus,
.pagination--moonshop > .active > span:hover {
  background: var(--ms-btn-bg, var(--links));
  border-color: var(--ms-btn-bg, var(--links));
  color: #fff;
}

.pagination--moonshop > li.prev > a:hover,
.pagination--moonshop > li.prev > a:focus,
.pagination--moonshop > li.next > a:hover,
.pagination--moonshop > li.next > a:focus {
  background: var(--ms-btn-bg, var(--links));
  border-color: var(--ms-btn-bg, var(--links));
  color: #fff;
}

@keyframes displayAnim {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.textblock {
  --rows: var(--showRows);
}
.textblock p {
  color: #000;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: var(--rows);
  -webkit-box-orient: vertical;
  transition: all 0.1s linear;
  margin-bottom: 7px;
}
.textblock.open p {
  -webkit-line-clamp: initial;
  animation: te 1s linear;
}
.textblock .show-more {
  display: table-caption;
  margin-top: 10px;
}
@keyframes te {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}

/*  */

.quantity-count-box {
  position: relative;
  max-width: 110px;
  width: 100%;
  background: #FFFFFF;
  height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #ECEEF2;
  border-radius: 3px;
  flex-wrap: nowrap;
  box-sizing: border-box;
}


.quantity-count-box button {
  z-index: 2;
  background: none;
  font-weight: 400;
  width: 30px;
  flex: 0 0 30px;
  font-size: 18px;
  line-height: 1;
  height: 100%;
  color: var(--text-1f);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
}

.quantity-count-box input[type=text].quantity {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: var(--latoFont);
  line-height: 1;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  text-align: center;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  -moz-appearance: textfield;
}
.quantity-count-box input[type=text].quantity::-webkit-outer-spin-button,
.quantity-count-box input[type=text].quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


@media screen and (min-width: 576px) {
  [class*=__container] {
    padding: 0 20px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  h2 {
    font-size: 27px;
  }
  h2.section-title {
    margin-bottom: 24px;
  }
  h3 {
    font-size: 23px;
  }
  h3.section-title {
    margin-bottom: 36px;
  }
  h5 {
    font-size: 16px;
  }
  p {
    font-size: 16px;
    line-height: 1.6;
  }
  a.link {
    font-size: 14px;
  }
  a.link:hover {
    text-decoration-color: transparent;
  }
  .main-wrapper {
    padding-top: 63px;
  }
  .adv-banner {
    border-radius: 9px;
    overflow: hidden;
  }
  .page-title {
    margin-bottom: 12px;
    font-size: 27px;
  }
  .page-head p {
    font-size: 16px;
    line-height: 1.6;
  }
  .breadcrumb > li {
    font-size: 15px;
  }
  .form-control {
    padding: 9px 40px 9px 20px;
  }
  a.altlink {
    font-size: 15px;
    line-height: 21px;
  }
  a.altlink:hover {
    border-color: transparent;
  }
  button.altlink {
    font-size: 15px;
    line-height: 21px;
    transition: all 0.12s linear;
  }
  button.altlink:hover {
    border-color: transparent;
    transition: all 0.12s linear;
  }
  .textblock p {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 992px) {
  [class*=__container] {
    max-width: 1564px;
    padding: 0 32px;
  }

  .container {
    max-width: 1564px;
    padding-left: 32px;
    padding-right: 32px;
  }

  body.ms-page-home .page__container {
    padding-top: 0;
  }


  html.loaded .header-maincatalog {
    display: block;
  }
  
  html.loaded .nav-mobile{
    display: none;
  }

  h2 {
    font-size: 36px;
  }
  .page-title {
    font-size: 36px;
  }
  h3 {
    font-size: 28px;
  }
  h3.section-title {
    margin-bottom: 48px;
  }
  h5 {
    font-size: 17px;
  }
  p {
    font-size: 17px;
    line-height: 1.6;
  }
  a.link {
    font-size: 16px;
  }
  .main-wrapper {
    padding-top: 0px;
	background: #fcfcfc;
  }
  .simple-textblock {
    margin-bottom: 38px;
  }
  .page-head {
    margin-bottom: 30px;
  }
  .page-head p {
    font-size: 17px;
    line-height: 1.6;
  }
  .simple-section {
    margin-bottom: 90px;
  }
  .form-control {
    cursor: pointer;
    font-size: 15px;
    padding: 9px 40px 9px 20px;
  }
  .soc-list .soc-lnk {
    transition: background-color 0.12s linear;
  }
  .soc-list .soc-lnk:hover {
    transition: background-color 0.12s linear;
  }
  .soc-list .soc-lnk.soc-vb:hover {
    background: #8355a8;
  }
  .soc-list .soc-lnk.soc-wp:hover {
    background: #23bf5d;
  }
  .soc-list .soc-lnk.soc-tg:hover {
    background: #007ebc;
  }
  .soc-list .soc-lnk.soc-inst:hover {
    /* Тот же тип заливки, что в покое — градиент нельзя анимировать в solid */
    background-color: #be1e38;
    background-image: linear-gradient(181deg, #962a92 -2.68%, #be1e38 98.77%);
  }
  .soc-list .soc-lnk.soc-yt:hover {
    background: #b92e29;
  }
  .soc-list .soc-lnk.soc-ok:hover {
    background: #eb8705;
  }
  .soc-list .soc-lnk.soc-vk:hover {
    background: #5e8ab0;
  }
  .soc-list .soc-lnk.soc-ya:hover {
    background: #dbb001;
  }
  .soc-list .soc-lnk.soc-fb:hover {
    background: #334d84;
  }
  .soc-list .soc-lnk.soc-max:hover {
    background: #3f4ee6;
  }
  .soc-list .soc-lnk.soc-tiktok:hover {
    background: #000;
  }
  .soc-list .soc-lnk.soc-rutube:hover {
    background: #000;
  }

  /*  */
  .quantity-count-box {
    height: 40px;
  }
  .quantity-count-box button {
    font-size: 24px;
    line-height: 130%;
  }

}
@media screen and (min-width: 1280px) {
  h2 {
    font-size: 42px;
  }
  .page-title {
    font-size: 42px;
  }
  h2.section-title {
    margin-bottom: 40px;
  }
  h3 {
    font-size: 36px;
  }
  h3.section-title {
    margin-bottom: 54px;
  }
  h5 {
    font-size: 18px;
  }
  p {
    font-size: 19px;
    line-height: 1.6;
  }
  .phone-link {
    font-size: 21px;
  }
  .simple-section {
    margin-bottom: 144px;
  }
  .button-acc span {
    font-size: 15px;
    line-height: 1;	
  }
  .simple-textblock {
    margin-bottom: 98px;
  }
  .page-head p {
    font-size: 19px;
    line-height: 1.6;
  }
  .page-head {
    margin-bottom: 40px;
  }
  .form-control {
    font-size: 16px;
  }
  .textblock p {
    font-size: 17px;
  }
  .nav-tabs > li > a {
    font-size: 18px;
  }
  .nav-tabs > li > a i[class*=icon-] {
    font-size: 22px;
  }
}

/* Crop без полей: заполняем область карточки и большого фото товара */
.ms-image-product-crop .product-card__image img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  object-fit: cover;
  object-position: center;
}
.ms-image-thumb-crop .swiper-slide.product-photoslide .product-photo img {
  object-fit: cover;
  object-position: center;
}
.ms-image-thumb-crop .swiper-slide.product-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Размер превью карточки — из настроек темы, не 246×196 из вёрстки */
.product-card .product-card__image {
  padding-top: calc(var(--ms-card-img-h, 228) / var(--ms-card-img-w, 228) * 100%);
}
@media screen and (min-width: 992px) {
  .product-card .product-card__image {
    padding: 0;
    padding-top: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--ms-card-img-w, 228) / var(--ms-card-img-h, 228);
  }
}