
/* Liquid glass for header by custom class */
.uc-header .t-menu-base__maincontainer{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  -webkit-backdrop-filter: blur(5px) saturate(160%) brightness(110%);
  backdrop-filter: blur(5px) saturate(160%) brightness(110%);

  box-shadow:
    0 10px 40px -2px rgba(0,11,48,0.25),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.uc-header .t-menu-base__maincontainer::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(120% 90% at 20% 0%,
      rgba(255,255,255,0.35) 0%,
      rgba(255,255,255,0.10) 35%,
      rgba(255,255,255,0.00) 70%),
    radial-gradient(120% 90% at 80% 100%,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.06) 35%,
      rgba(255,255,255,0.00) 70%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.uc-header .t-menu-base__maincontainer::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}

.uc-header .t-menu-base__maincontainer > *{
  position: relative;
  z-index: 1;
}

/* ===== Liquid glass for the "Поиск" button inside this header/menu ===== */
/* (селектор максимально узкий: только кнопка внутри maincontainer вашего uc-header) */
.uc-header .t-menu-base__maincontainer a.t-btnflex.t-btnflex_type_button{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  -webkit-backdrop-filter: blur(5px) saturate(160%) brightness(110%);
  backdrop-filter: blur(5px) saturate(160%) brightness(110%);
}

/* блик кнопки */
.uc-header .t-menu-base__maincontainer a.t-btnflex.t-btnflex_type_button::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(120% 120% at 25% 0%,
      rgba(255,255,255,0.35) 0%,
      rgba(255,255,255,0.12) 40%,
      rgba(255,255,255,0.00) 72%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* кромка кнопки */
.uc-header .t-menu-base__maincontainer a.t-btnflex.t-btnflex_type_button::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* текст/эффекты кнопки поверх */
.uc-header .t-menu-base__maincontainer a.t-btnflex.t-btnflex_type_button > *{
  position: relative;
  z-index: 1;
}

/* на всякий случай: контейнер эффектов внутри кнопки тоже поверх */
.uc-header .t-menu-base__maincontainer a.t-btnflex.t-btnflex_type_button .t-btn_wrap-effects{
  position: relative;
  z-index: 1;
}


/* Mobile menu glass: make blur actually visible */
.uc-header-mobile .t975{
  background-color: rgba(109,109,109,0.50) !important;

  box-shadow: 0px 15px 30px -10px rgba(0,11,48,0.1) !important;
}
