.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 10050;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.cookie-consent__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(520px, 100%);
  padding: 16px 20px;
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--marketing-card-border, #edeff3);
  border-radius: 24px;
  box-shadow: var(
    --marketing-card-shadow,
    0 1px 2px -1px #1a19250a,
    0 1px 1px #1a19250a,
    0 0.5px 0.5px #1a19250a
  );
}

.cookie-consent__copy {
  width: 100%;
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-family: Lufga, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: #141414;
  letter-spacing: -0.02em;
}

.cookie-consent__text {
  width: 100%;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #3f3f3f;
}

.cookie-consent__text a {
  color: var(--accent, #c2b066);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.cookie-consent__text a:hover {
  color: #a8944f;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.cookie-consent__btn {
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}

/* Accept: uses .btn-primary depth from animations.css; size override only */
.cookie-consent__btn--accept.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
}

.cookie-consent__btn--outline {
  color: #141414;
  background: transparent;
  border: 1px solid #141414;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.cookie-consent__btn--outline:hover {
  color: #141414;
  background: #f7f7f5;
}

.footer-cookie-prefs {
  display: block;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
}

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

  .cookie-consent__panel {
    width: 100%;
    padding: 20px;
  }

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

  .cookie-consent__btn {
    width: 100%;
    text-align: center;
  }
}
