
document.addEventListener('DOMContentLoaded', function() {
  // CSS-стили
  const css = `
    #rec115339280 {
      position: fixed !important;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: #ffffff;
      transition: all 0.3s ease;
    }
    body {
      padding-top: 80px !important;
    }
    #rec115339280.hide-on-scroll {
      transform: translateY(-100%);
    }
    #rec115339280.scrolled {
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    @media (max-width: 768px) {
      body {
        padding-top: 60px !important;
      }
    }
  `;
  
  // Добавляем стили
  const style = document.createElement('style');
  style.innerHTML = css;
  document.head.appendChild(style);

  // Логика скролла
  const header = document.querySelector('#rec115339280');
  let lastScroll = 0;

  window.addEventListener('scroll', function() {
    const currentScroll = window.pageYOffset;
    
    // Показываем/скрываем меню
    if (currentScroll  10);
    lastScroll = currentScroll;
  });
});
