/* =========================
   АДАПТИВ: МЕНЮ И ШАПКА
   ========================= */
@media (max-width: 768px) {

  /* Скрываем фиксированную плашку с картинками */
  .uovmr-header-overlay {
    display: none !important;
  }

  /* Скрываем десктопное меню */
  #menu1 {
    display: none !important;
  }

  /* Показываем бургер */
  .uovmr-burger {
    display: flex !important;
  }

  /* Шапка в колонку */
  .uovmr-header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .uovmr-left,
  .uovmr-center,
  .uovmr-right {
    margin: 5px 0;
  }

  .uovmr-title {
    font-size: 18px;
    line-height: 1.2;
  }

  .uovmr-desc {
    font-size: 14px;
    line-height: 1.2;
  }
}

/* =========================
   АДАПТИВ: СЕТКА КОЛОНОК (uovmr)
   ========================= */
@media (max-width: 1024px) {
  /* Переключаем контейнер из grid в колонный flex */
  .uovmr-columns {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
  }

  /* Центральная колонка */
  .uovmr-main-column {
    order: 1 !important;
    width: 100% !important;
    grid-column: auto !important;
    margin: 0 0 20px 0 !important;
  }

  /* Левая колонка */
  .uovmr-sidebar-left {
    order: 2 !important;
    width: 100% !important;
    grid-column: auto !important;
    margin: 0 0 20px 0 !important;
  }

  /* Правая колонка */
  .uovmr-sidebar-right {
    order: 3 !important;
    width: 100% !important;
    grid-column: auto !important;
    margin: 0 0 20px 0 !important;
  }
}
/* =========================
   КОНЕЦ: АДАПТИВ СЕТКИ
   ========================= */

/* =========================
   АДАПТИВ: СЛАЙДЕР (uovmr)
   ========================= */
@media (max-width: 768px) {
  .uovmr-slider {
    width: 100% !important;
    height: auto !important;
  }

  .uovmr-slider img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .uovmr-slider {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100% !important;
    transition: transform 0.5s ease;
  }

  .uovmr-slide {
    flex: 0 0 100%; /* каждый слайд = вся ширина экрана */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .uovmr-slide img,
  .uovmr-slide-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover; /* чтобы не было пустот */
    display: block;
  }

  /* Стрелки (как на десктопе, квадратные) */
  .uovmr-slider-prev,
  .uovmr-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5em 0.7em;
    z-index: 10;
    border-radius: 0; /* убираем круглый фон */
  }

  .uovmr-slider-prev { left: 10px; }
  .uovmr-slider-next { right: 10px; }
}
/* =========================
   КОНЕЦ: АДАПТИВ СЛАЙДЕР (uovmr)
   ========================= */
   
   
/* =========================
   МОБИЛЬНАЯ ШАПКА (uovmr)
   ========================= */
@media (max-width: 768px) {
  .uovmr-mobile-header {
    text-align: center;
    padding: 15px 10px;
  }

  /* Верхняя зона: герб по центру, бургер справа */
  .uovmr-mobile-top {
    display: flex;
    justify-content: center; /* всё по центру */
    align-items: center;
    position: relative; /* чтобы бургер можно было прижать справа */
    margin-bottom: 10px;
  }

  /* Герб */
  .uovmr-mobile-gerb {
    max-height: 100px; /* увеличенный размер */
    width: auto;
    display: block;
  }

  /* Бургер */
  .uovmr-burger {
    width: 36px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;

    position: absolute;
    right: 0;  /* бургер у правого края */
  }

  .uovmr-burger span {
    display: block;
    height: 4px;
    background: #333;
    border-radius: 2px;
  }
}

/* Герб показывается только на мобильных */
.uovmr-mobile-gerb {
  display: none; /* по умолчанию скрыт */
}

@media (max-width: 768px) {
  .uovmr-mobile-gerb {
    display: block; /* показываем на мобилке */
  }
}

/* =========================
   КОНЕЦ: МОБИЛЬНАЯ ШАПКА (uovmr)
   ========================= */

/* Лупа в синей шапке */
.uovmr-search-toggle {
    position: absolute;
    top: 36px;       /* регулируй высоту */
    left: 20px;      /* регулируй отступ слева */
    width: 28px;     /* общий размер иконки */
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* круг */
.uovmr-search-toggle::before {
    content: "";
    position: absolute;
    width: 70%;              /* диаметр круга относительно кнопки */
    height: 70%;
    border: 2px solid #fff;  /* белая обводка */
    border-radius: 50%;
    top: 0;
    left: 0;
}

/* ручка */
.uovmr-search-toggle::after {
    content: "";
    position: absolute;
    width: 43%;              /* длина ручки */
    height: 2px;             /* толщина ручки */
    background: #fff;
    transform: rotate(47deg); /* угол наклона / больше поворот в лево */
    bottom: 3px;             /* подгоняем стык */
    right: 1px;
}



