.cookie-consent {
  position: fixed;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 38px);
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: min(520px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(237, 229, 199, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 20, 17, 0.88), rgba(8, 10, 8, 0.74)),
    radial-gradient(circle at 14% 20%, rgba(214, 195, 106, 0.12), transparent 42%);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #f3f0e5;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

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

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

.cookie-consent__eyebrow,
.cookie-consent h2 {
  font-family: "SF Gothican", "Cooper Black", Georgia, serif;
  font-synthesis: weight;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 3px 4px rgba(0, 0, 0, 0.48),
    0 0 1px rgba(255, 255, 255, 0.35);
}

.cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: #d99a64;
  font-size: 1.08rem;
}

.cookie-consent h2 {
  margin: 0;
  color: #fff0a6;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.cookie-consent p {
  margin: 8px 0 0;
  color: rgba(243, 240, 229, 0.86);
  font-size: 0.98rem;
  line-height: 1.45;
}

.cookie-consent a {
  color: #fff0a6;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-consent a:hover,
.cookie-consent a:focus-visible {
  color: #f3f0e5;
  outline: none;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(237, 229, 199, 0.2);
  border-radius: 8px;
  background: rgba(17, 20, 17, 0.66);
  color: #f3f0e5;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent button:hover,
.cookie-consent button:focus-visible {
  border-color: rgba(255, 240, 166, 0.58);
  background: rgba(214, 195, 106, 0.18);
  color: #fff0a6;
  outline: none;
}

.cookie-consent button[data-cookie-choice="all"] {
  border-color: rgba(255, 240, 166, 0.52);
  background: rgba(214, 195, 106, 0.22);
  color: #fff0a6;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none !important;
  }
}
