:root {
  --cookie-bg: rgba(247, 245, 242, 0.96);
  --cookie-ink: #1A1714;
  --cookie-muted: #5C5549;
  --cookie-border: rgba(184, 151, 106, 0.28);
  --cookie-gold: #B8976A;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  width: 90%;
  max-width: 800px;
  padding: clamp(18px, 3vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  color: var(--cookie-ink);
  background: var(--cookie-bg);
  border: 1px solid var(--cookie-border);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(26, 23, 20, 0.18);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transform: translate(-50%, calc(100% + 32px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

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

.cookie-consent__title {
  margin: 0 0 6px;
  color: var(--cookie-ink);
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cookie-consent__text {
  margin: 0;
  max-width: 62ch;
  color: var(--cookie-muted);
  font-family: "Jost", Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.cookie-consent__text a {
  color: var(--cookie-ink);
  text-decoration: underline;
  text-decoration-color: rgba(184, 151, 106, 0.55);
  text-underline-offset: 4px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(26, 23, 20, 0.22);
  border-radius: 999px;
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cookie-consent__button:active {
  transform: scale(0.98);
}

.cookie-consent__button--primary {
  color: #F7F5F2;
  background: #1A1714;
  border-color: #1A1714;
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
  background: #2B251F;
  border-color: #2B251F;
}

.cookie-consent__button--secondary {
  color: var(--cookie-ink);
  background: transparent;
  border-color: rgba(184, 151, 106, 0.52);
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus-visible {
  background: rgba(184, 151, 106, 0.12);
  border-color: var(--cookie-gold);
}

@media (max-width: 720px) {
  .cookie-consent {
    bottom: 14px;
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
