/* Глобальный сброс всех ul на сайте */
ul, ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

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

 /*{    outline: 1px solid red !important;  }*/ /*КРАСНАЯ ЛИНИЯ ДЛЯ ОТЛАДКИ БЛОКОВ*/

/*body, html {    margin: 0;    padding: 0;    overflow-x: hidden;} /* временно, чтобы точно убедиться в контейнерах */

:root {

    --primary: #041c36;

    --accent: #CA3936;
    --accent-dark: #962D2C;
    --accent-light: #E66B69;

    --header-bg-top:#eeeeee;
    --header-bg-mid: #f7f7f7;
    --header-bg-bot:#f7f7f7;

    --breadcrumbs-txt:#868686;


    --footer-bg:#131313;

    --footer-txt-h4: #F1F1F1;
    --footer-txt-p: #a3a3a3;
    --footer-icon: #696969;
    --footer-link: #E66B69;
    --footer-link-hover: #CA3936;

    --footer-txt-copyright: #a8a8a8;
    --footer-txt-poly: #c8defc;
    --footer-txt-poly-hover: #868686;

}
    /* =========================
   СКРЫТЬ ПОКАЗАТЬ МОБИЛЬНОЕ МЕНЮ ТУТ СКРЫТЬ
========================= */
.mobile-menu-hide, .mobile-menu-side-overlay {
    display: none;
}
/* =========================
   ВЕРХНЕЕ МЕНЮ
========================= */
.header-top {
    width: 100%;
    height: 30px;
    background: var(--header-bg-top) !important;
    color: var(--primary) !important;
}

.header-top-inner {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
}

.header-top-left,
.header-top-right {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.header-top-left {
    justify-content: flex-start;
}

.header-top-left p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-top-left i {
    font-size: 14px !important;
    color: #E66B69 !important;
}

.header-top-right {
    justify-content: flex-end;
}

.header-top-right a {
    position: relative;
    color: var(--primary) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.4s ease;
}

.header-top-right i {
    font-size: 12px;
    color: inherit;
}

.header-top-right a:hover {
    color: var(--accent) !important;
}

.header-top-right a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.header-top-right a:hover::after {
    width: 100%;
}


/* =========================
         ПОИСК МЕНЮ
========================= */
/* =========================
   БАЗОВЫЙ КОНТЕЙНЕР ПОИСКА
========================= */
.t-site-search-input {
    display: flex;
    align-items: center;           /* вертикальное выравнивание */
    gap: 10px;                     /* расстояние между инпутом и кнопкой */
    max-width: 500px;              /* максимальная ширина блока */
    margin: 0 auto;                /* центрируем блок по горизонтали */
    padding: 10px;                 /* внутренние отступы */
    box-sizing: border-box;
}

/* =========================
   БЛОК ИНПУТА С ИКОНОЙ И КРЕСТИКОМ
========================= */
.t838__blockinput {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative; 
}


/* =========================
   САМО ПОЛЕ ВВОДА
========================= */
.t838__blockinput input.t838__input {
    background-color: #ffffff !important;
    height: 30px;
    width: 100%;
    font-size: 16px;
    padding: 0 12px;
    box-sizing: border-box;
    color: #223a54 !important;  
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}

.t838__blockinput input.t838__input:hover {
    box-shadow: 0 0 3px var(--accent-light) !important;
}

.t838__blockinput input.t838__input:focus {
    box-shadow: 0 0 15px var(--accent-light) !important;
    outline: none;
}

/* =========================
   КНОПКА SEARCH
========================= */
.t838__blockbutton button.t-submit {
    height: 30px;                  /* совпадает с высотой инпута */
    font-size: 14px;
    padding: 0 20px;               /* горизонтальные отступы */
    border-radius: 0px;
    border: none;
    background-color: var(--accent) !important;
    color: #fff important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Ховер кнопки */
.t838__blockbutton button.t-submit:hover {
    background-color: var(--accent-dark) !important;
}

/* =========================
   ИКОНКИ
========================= */
/* Лупа */
.t838__search-icon {
    display: none !important;
}

/* Крестик закрытия */
.t-site-search-close {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Loader */
.t-site-search-loader {
    width: 18px;
    height: 18px;
}

/* =========================
   ПЛЕЙСХОЛДЕР
========================= */
.t838__blockinput input.t838__input::-webkit-input-placeholder { color:#000000; opacity:0.5; }
.t838__blockinput input.t838__input::-moz-placeholder { color:#000000; opacity:0.5; }
.t838__blockinput input.t838__input:-moz-placeholder { color:#000000; opacity:0.5; }
.t838__blockinput input.t838__input:-ms-input-placeholder { color:#000000; opacity:0.5; }

.t838 {
    position: relative; /* теперь логотип позиционируется относительно всего блока */
    background: var(--header-bg-mid) !important;
    z-index: 2100; 
    padding: 0 5%; /* отступы слева/справа */
    width:100%;
    
}

/* Логотип */
.my-logo {
    position: absolute;
    left: 15%;               /* 20% от всей ширины блока/страницы */
    top: 50%;
    transform: translateY(-50%);
}

.my-logo img {
    height: 40px;            /* размер логотипа */
    width: auto;
    display: block;
}

/* Иконки справа */
.t838_my-icons {
    position: absolute;           /* относительно блока .t838 */
    right: 15%;                   /* отступ справа */
    top: 50%;                     /* вертикальное центрирование */
    transform: translateY(-50%);
    display: flex;
    gap: 35px;                    /* расстояние между иконками */
}

.t838_my-icons .t838_my_icon-link svg {
    fill:var(--primary);
    height:30px;
    width:30px;
    transition: fill 0.3s ease,transform 0.3s ease;
}

.t838_my-icons .t838_my_icon-link:hover svg {
    transform: translateY(-2px);
    fill: var(--accent-dark);
}

.t838__blockinput::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='7' stroke='%23666' stroke-width='2' fill='none'/%3E%3Cline x1='15' y1='15' x2='21' y2='21' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
}
/* =========================
   ОСНОВНОЕ МЕНЮ
========================= */
.menu {
    width: 100%;
    position: relative;
    background: var(--header-bg-bot) !important;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 1;
}

.menu-nav {
    position: relative;
    margin: 0 auto;
    max-width: 1440px;
}

.menu-categories {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--header-bg-bot) !important;
    position: relative;
}

.menu-categories li {
    flex: 1;
    text-align: center;
}

.menu-categories a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary) !important;
    transition: background .3s ease, color 0.3s ease;
}

/* ============ Мега-меню ============ */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    max-height: 80vh;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
    display: none;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.mega-menu-column {
    flex: 1 1 0;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-width: 100px;
}

.mega-menu-column ul {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.mega-menu-column li {
    position: relative;
    width: 100%;
}

/* ============ Ссылки с текстом и стрелкой ============ */
.mega-menu-column li a {
    display: flex;
    justify-content: center;
    /* центр текста */
    align-items: center;
    position: relative;
    padding: 6px 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--primary) !important;
    text-decoration: none;
}

.mega-menu-column li a span {
    flex: 1;
    text-align: center;
}

.mega-menu-column li a i {
    flex-shrink: 0;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.mega-menu-column li:hover>a i {
    transform: rotate(180deg);
}

/* ============ Подменю 2 уровня ============ */
.mega-menu-level-2 {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff !important;
    padding: 10px;
    min-width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}


/* Показываем подменю при hover */
.mega-menu-column li:hover>.mega-menu-level-2 {
    display: block;
}

.menu-nav:hover .mega-menu {
    display: flex;
}

/* Разделитель категории в столбце*/

.mega-menu-new-categories>a {
    margin-top: 20px;
    display: block;
}

/* Подсветка кнопок внутри мега-меню */
.mega-menu-column li:hover>a {
    background: var(--accent-light) !important;
    color: #fff !important;
}

.menu-categories a.active {
    background: var(--accent) !important;
    color: #fff !important;
}

.mega-menu-column.dimmed {
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mega-menu-column {
    transition: opacity 0.3s ease;
}

/* =========================
   ХЛЕБНЫЕ КРОШКИ  ДЛЯ ВСЕХ ЭКРАНОВ
========================= */
#breadcrumbs {
    width: 100%;
    padding: 15px 0;              /* верх/низ, слева/справа убрал, перенес во внутренний блок */
    background: #fff !important;
    display: flex;
    justify-content: center;      /* центрируем внутренний блок */
    font-size:12px;
}

/* Внутренний контейнер с ограничением ширины и скруглёнными углами */
.breadcrumbs-inner {
    max-width: 1440px;
    width: 100%;
    background: #fff !important; /* фон для скруглённых углов */
    border-radius: 12px;                  /* скругление углов */
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    padding: 10px 15px;                   /* внутренние отступы */
    
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Ссылки */
#breadcrumbs a {
    font-family: 'Montserrat', sans-serif;
    color: var(--breadcrumbs-txt) !important;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    white-space: normal;   /* разрешаем перенос текста */
    transition: all 0.2s ease;
}

#breadcrumbs span {
    white-space: normal;   /* разрешаем перенос текста */
    display: inline-flex;
    align-items: center;
    padding: 0 5px;
}

/* Hover */
#breadcrumbs a:hover {
    color: var(--accent-light)  !important;
    transform: scale(1.05);
}

#breadcrumbs a::after {
    content: '';
    display: block;
    height: 1px;
    width: 0%;
    background: var(--accent-light) !important;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

#breadcrumbs a:hover::after {
    width: 100%;
}

/* Разделители */
#breadcrumbs .divider {
    margin: 0 8px;
    display: inline-flex;
    align-items: center;
}

#breadcrumbs .divider i {
    color: var(--breadcrumbs-txt) !important;
    font-size: 10px !important;
    transition: transform 0.3s, color 0.3s;
    transform: rotate(0deg);
}

/* Hover на стрелку при наведении на ссылку */
#breadcrumbs a:hover ~ .divider i,
#breadcrumbs a:hover + .divider i {
    transform: rotate(180deg);
    color: var(--accent-light) !important;
}

/* Последний сегмент */
#breadcrumbs span.current {
    font-family: 'Inter', sans-serif;
    color: #7a7a7a !important;
    font-weight: 400;
}


/* СТРАНИЦА 404 */

.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  min-height: 70vh;
  background: #fff;
  color: var(--primary) !important;
}

.page-404__svg {
  max-width: 300px;
  margin-bottom: 30px;
}

.page-404 h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
}

.page-404 p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  margin-bottom: 30px;
}

/* Живая ссылка */
.page-404-btn {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.page-404-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--accent-light) !important;
}


/*Страницы с информацией*/
/* Основные блоки */
.info_div-section{
    margin: 0 auto;
    width: 100%;
    max-width: 960px;
    padding: 0;
}

.info_div-section h1{
    display: flex;
    justify-content: center; /* горизонтально */
    align-items: center;    /* вертикально */
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary) !important;
    margin: 30px 0 30px 0; /* 20px снизу от h2 до следующего элемента */
}

.info_div-section h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--primary) !important;
    margin: 20px 0 20px 0; /* 20px снизу от h2 до следующего элемента */
}

.info_div-section h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary) !important;
    margin-left: 15px;   /* сдвиг вправо */
    margin-top: 25px;    /* разделение сверху от предыдущего блока */
    margin-bottom: 10px; /* отступ снизу до вложений */
}

.info_div-h3-move {
    margin-left: 30px;  /* ещё чуть правее, “вложение” */
    margin-bottom: 5px; /* расстояние между пунктами */
    line-height: 1.5;   /* читаемость текста */
}

/* Текст */
.info_div-section p, ol, ul{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary) !important;
    line-height: 1.5;
}

.info_div-section ul, ol{
    padding-left: 25px !important;
}
.info_div-section ul{
    list-style: disc !important;
}
.info_div-section ol{
    list-style-type: decimal!important;
}

/* Ссылки */
.info_div-section a {
    color: var(--accent) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.info_div-section a:hover {
    color: var(--accent-light) !important;
}

.info_div-section a i,
.info_div-section a svg {
  transition: transform 0.3s ease, color 0.3s ease; /* плавный переход для поворота и цвета */
  transform-origin: center; /* вращаем относительно центра */
}

.info_div-section a:hover i,
.info_div-section a:hover svg {
  transform: rotate(15deg) scale(1.1); /* поворачиваем и немного увеличиваем */
}

/* --- Общие стили футера --- */
.footer-site {
    margin-top:30px;
    background: var(--footer-bg) !important;
    width: 100%;
}

.footer-inner {
    padding-top: 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Колонки */
.footer-col {
    flex: 1;
    min-width: 180px;
}

/* Заголовки */
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--footer-txt-h4) !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding-bottom: 10px;
}

/* обычный текст */
.footer-col p {
    font-family: 'Inter', sans-serif;
    color: var(--footer-txt-p) !important;
    font-size: 13px;
    padding-bottom: 5px
}

/* Ссылки (текстовые) */
.footer-col a:not(.footer-icon) {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    color: var(--footer-link) !important;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.2s ease;
}

.footer-col a:not(.footer-icon):hover {
    color: var(--footer-link-hover) !important;
    transform: translateY(-3px);
}

/* Социальные иконки */
.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--footer-icon) !important;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icon i,
.footer-icon svg {
    width: 25px;
    height: 25px;
    display: block;
    font-size: 28px;
}

.footer-icon:hover {
    transform: translateY(-3px);
}

/* Левая колонка */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left h4 {
    margin-top: 15px;
}

.footer-left-icon {
    display: flex;
    gap: 10px;
}


/* Центральный блок */
.footer-center {
    text-align: center;
}

/* Правая колонка */
.footer-right {
    text-align: right;
}

.footer-right-timer {
    margin-top: 20px;
}

/* Нижняя линия футера */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: var(--footer-txt-copyright) !important;
    font-size: 13px;
}

.footer-bottom a {
    margin-left: 8px;
    color: var(--footer-txt-poly) !important;
    transition: color .5s ease;
}

.footer-bottom a:hover {
    color: var(--footer-txt-poly-hover) !important;
}

/* ============ Базовые стили меню ============ */

@media (min-width: 1201px) and (max-width: 1439px) {
  
    .header-top-inner {
        max-width: 1200px;
    }
    .menu-nav {
        max-width: 1200px;
    
    }
    .mega-menu {
        max-width: 1200px;
    }
    .footer-inner {
        padding-left: 50px;
        padding-right: 50px;
    }

}

@media (min-width: 2000px) {
    
    .header-top-inner {
        max-width: 1800px;
    }
    .menu-nav {
        max-width: 1800px;
    }
    .mega-menu {
        max-width: 1800px;
    }
    .footer-inner {
        max-width: 1600px;
    }
    .breadcrumbs-inner {
        max-width: 1800px;
    }
}














