.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10010;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent__inner {
  margin: 0 auto;
  width: min(960px, 100%);
  background: #fff;
  border: 1px solid rgba(106, 27, 154, 0.2);
  box-shadow: 0 16px 44px rgba(22, 12, 46, 0.18);
  border-radius: 16px;
  padding: 18px 20px;
}

.cookie-consent__inner h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #1f1230;
}

.cookie-consent__inner p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  max-width: 72ch;
}

.cookie-consent__inner a {
  font-weight: 700;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.cookie-consent__actions .btn {
  min-height: 42px;
}

.cookie-settings-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10009;
  border: 1px solid rgba(106, 27, 154, 0.25);
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  padding: 10px 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(106, 27, 154, 0.18);
  display: none;
}

.cookie-settings-btn.is-visible {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 639px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-consent__inner {
    border-radius: 14px;
    padding: 16px;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }

  .cookie-settings-btn {
    left: 12px;
    bottom: 12px;
  }
}
