.cookie-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 12px clamp(14px, 2.2vw, 26px) calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity .42s cubic-bezier(.22, 1, .36, 1), transform .42s cubic-bezier(.22, 1, .36, 1);
}

.cookie-bar.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 14px 18px;
  background: var(--white, #fff);
  border: 1.5px solid rgba(10, 10, 10, .08);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(10, 10, 10, .12);
}

.cookie-bar__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(10, 10, 10, .72);
}

.cookie-bar__text a {
  color: var(--ink, #0a0a0a);
  text-decoration: underline;
  text-underline-offset: .14em;
}

.cookie-bar__text a:hover {
  color: var(--purple, #8e59ef);
}

.cookie-bar__btn {
  flex: none;
  height: 40px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
}

@media (max-width: 640px) {
  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-bar__btn {
    width: 100%;
    justify-content: center;
  }
}

html[dir="rtl"] .cookie-bar__inner {
  flex-direction: row-reverse;
}

@media (max-width: 640px) {
  html[dir="rtl"] .cookie-bar__inner {
    flex-direction: column;
  }
}
