.babka-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 0.75rem max(1rem, env(safe-area-inset-left, 0px)) calc(0.75rem + env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.babka-cookie-consent__panel {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(34, 211, 238, 0.1), transparent 55%),
    radial-gradient(100% 80% at 100% 0%, rgba(168, 85, 247, 0.1), transparent 50%),
    rgba(8, 10, 18, 0.96);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(244, 244, 245, 0.94);
  font:
    500 0.8125rem/1.45 "Manrope",
    "Segoe UI",
    system-ui,
    sans-serif;
}

.babka-cookie-consent__copy {
  flex: 1 1 14rem;
  min-width: 0;
}

.babka-cookie-consent__title {
  margin: 0 0 0.35rem;
  font:
    800 0.95rem/1.25 "Onest",
    "Manrope",
    system-ui,
    sans-serif;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.babka-cookie-consent__text {
  margin: 0;
  color: rgba(212, 212, 216, 0.92);
}

.babka-cookie-consent__text strong {
  color: #e2e8f0;
  font-weight: 700;
}

.babka-cookie-consent__link {
  color: #22d3ee;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.babka-cookie-consent__link:hover,
.babka-cookie-consent__link:focus-visible {
  color: #67e8f9;
}

.babka-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
  align-items: center;
}

.babka-cookie-consent__btn {
  flex: 0 0 auto;
  min-height: 2.55rem;
  padding: 0.5rem 1.15rem;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  font:
    700 0.8125rem/1.2 "Manrope",
    "Segoe UI",
    system-ui,
    sans-serif;
  color: #020408;
  background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.22);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.babka-cookie-consent__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.32);
}

.babka-cookie-consent__btn:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

.babka-cookie-consent__btn--ghost {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.babka-cookie-consent__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .babka-cookie-consent__btn {
    transition: none;
  }
  .babka-cookie-consent__btn:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  html.sat-site.has-cookie-consent-bar .babka-cookie-consent,
  html.has-mobile-sticky-cta.has-cookie-consent-bar .babka-cookie-consent,
  html.has-cookie-consent-bar:has(body.has-mobile-sticky-cta) .babka-cookie-consent {
    bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px));
  }

  .babka-cookie-consent__panel {
    flex-direction: column;
    align-items: stretch;
  }

  .babka-cookie-consent__actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .babka-cookie-consent__btn {
    width: 100%;
  }
}
