/* Cookie notice — Tilda T886 rec1942232541, native на весь сайт. */

.mg-cookie-notice {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 100001;
  width: 600px;
  max-width: calc(100vw - 40px);
  font-family: var(--mg-font, "Dewi", system-ui, sans-serif);
}

.mg-cookie-notice.t886_closed,
.mg-cookie-notice[hidden] {
  display: none !important;
}

.mg-cookie-notice__box {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 15px 25px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
}

.mg-cookie-notice__text {
  flex: 1 1 auto;
  margin: 0;
  padding: 0 10px 0 0;
  color: #060606;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.55;
  text-align: left;
}

.mg-cookie-notice__text a {
  color: #0062ad;
  text-decoration: none;
}

.mg-cookie-notice__text a:hover,
.mg-cookie-notice__text a:focus-visible {
  color: #2b8ed9;
}

.mg-cookie-notice__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 30px;
  margin-left: auto;
  padding: 0 20px;
  color: #0062ad;
  background: transparent;
  border: 1px solid #0062ad;
  border-radius: 5px;
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.mg-cookie-notice__btn:hover,
.mg-cookie-notice__btn:focus-visible {
  color: #fff;
  background: #0062ad;
  border-color: #0062ad;
}

html[data-theme="dark"] .mg-cookie-notice__box {
  background: #fff;
}

body:has(#mg-cookie-notice) #t-footer .t886 {
  display: none !important;
}

@media screen and (max-width: 980px) {
  .mg-cookie-notice {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
  }

  .mg-cookie-notice__box {
    width: 100%;
    border-radius: 0;
  }
}

@media print {
  .mg-cookie-notice {
    display: none !important;
  }
}
