.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  max-width: 340px;
  padding: 14px 16px;
  background: linear-gradient(145deg, #350170 0%, #4a148c 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(53, 1, 112, 0.38);
  font-family: "Manrope", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__text {
  margin: 0;
}

.cookie-consent__text a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  opacity: 0.9;
}

.cookie-consent__btn {
  align-self: flex-end;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #350170;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__btn:hover {
  background: #f3eef8;
}

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

@media (min-width: 520px) {
  .cookie-consent {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    max-width: 420px;
  }

  .cookie-consent__btn {
    flex-shrink: 0;
  }
}

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