.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  width: min(560px, calc(100% - 44px));
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #201a17;
  box-shadow: 0 24px 80px rgba(32, 26, 23, 0.28);
  color: #fff;
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
}

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

.cookie-consent-label {
  margin: 0 0 10px;
  color: #ffb400;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.cookie-consent h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.cookie-consent-copy > p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.cookie-consent a {
  color: #fff;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cookie-consent button,
.cookie-settings-button {
  min-height: 44px;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cookie-consent button {
  padding: 12px 17px;
  font-size: 15px;
  font-weight: 800;
}

.cookie-consent-accept {
  background: #ffb400;
  color: #201a17;
}

.cookie-consent-decline {
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  background: transparent;
  color: #fff;
}

.cookie-consent button:focus-visible,
.cookie-settings-button:focus-visible {
  outline: 3px solid #146dff;
  outline-offset: 3px;
}

.cookie-settings-button {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

@media (max-width: 600px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 22px;
  }

  .cookie-consent-actions,
  .cookie-consent button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    scroll-behavior: auto;
  }
}
