.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 16px;
  pointer-events: none;
}

.cookie-consent:not([hidden]) {
  pointer-events: auto;
}

.cookie-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #101010 0%, #030303 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cookie-consent__content {
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-family: var(--heading-font-family, sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-color-white, #fff);
  letter-spacing: -0.01em;
}

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(229, 229, 229, 0.85);
}

.cookie-consent__links {
  margin: 10px 0 0;
  font-size: 14px;
  color: rgba(229, 229, 229, 0.75);
}

.cookie-consent__links a {
  color: var(--theme-color1, #ff4b2f);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__links a:hover {
  color: var(--theme-color-white, #fff);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent__btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid var(--theme-color1, #ff4b2f);
  outline-offset: 3px;
}

.cookie-consent__btn--primary {
  background-color: var(--theme-color1, #ff4b2f);
  color: #fff;
}

.cookie-consent__btn--primary:hover {
  background-color: #e0432a;
}

.cookie-consent__btn--secondary {
  background-color: transparent;
  color: var(--theme-color-white, #fff);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-consent__btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.06);
}

body.cookie-banner-open {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767.98px) {
  .cookie-consent {
    padding: 12px;
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1 1 calc(50% - 5px);
    text-align: center;
  }
}
