/* === КОД ДЛЯ ФИКСИРОВАННОГО МЕНЮ С ПРАВИЛЬНЫМ ПОДМЕНЮ === */

/* 1. Сдвигаем и ФИКСИРУЕМ основной блок меню */
#rec1865954921,
#rec1865954921.t-menu-base_maincontainer {
    position: fixed !important;  /* Делаем фиксированным */
    top: 50px !important;        /* Размещаем под строкой */
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    margin-top: 0 !important;    /* Обнуляем, т.к. теперь fixed */
    background: white !important; /* Фон, чтобы перекрывать контент */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transform: translateY(0) !important;
}

/* 2. Если меню станет фиксированным (резервное правило) */
#rec1865954921.t-menu-base_maincontainer.header-fixed {
    top: 50px !important;
    margin-top: 0 !important;
}

/* 3. Убираем лишние отступы у первого контентного блока */
#re1658621471,
#re1658629041 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 4. Выпадающее подменю - делаем его выше всех элементов */
#rec1865954921 .t-menusub__container,
#rec1865954921 .t-menu__submenu,
#rec1865954921 .t-menu__submenu-container {
    z-index: 1001 !important;
    position: absolute !important;
}

/* 5. Убеждаемся, что контейнер меню не обрезает подменю */
#rec1865954921 .t-menu__container {
    overflow: visible !important;
}

/* 6. Фиксируем родительские элементы для корректного позиционирования */
#rec1865954921 .t-menu__item-wrap {
    position: relative !important;
}

#rec1865954921 .t-menu__link-item {
    position: relative !important;
}

/* 7. Сдвигаем контент, чтобы он не был под фиксированным меню */
body {
    padding-top: 130px !important; /* 50px (строка) + ~80px (высота меню) */
}
/* === МИНИМАЛЬНЫЙ КОД ДЛЯ ВИЗУАЛЬНОГО СООТВЕТСТВИЯ === */
/* === КОД ДЛЯ ФИКСИРОВАННОГО МЕНЮ ПОД СТРОКОЙ === */

/* 1. Бегущая строка - фиксированная */
#fixed-ticker {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 50px !important;
    background: #7d3058 !important;
    color: #e2c8a5 !important;
    z-index: 10001 !important;
}

/* 2. Сдвигаем фиксированное меню вниз */
#rec1865954921.t-menu-base_maincontainer.header-fixed {
    top: 50px !important; /* Единственная нужная строка */
}

/* 3. Сдвигаем контент страницы */
body {
    padding-top: 60px !important;
}

/* 4. Мобильные */
@media (max-width: 480px) {
    #fixed-ticker {
        height: 20px !important;
        font-size: 14px !important;
    }
    body {
        padding-top: 40px !important;
    }
}