.cookie-consent {
  position: fixed;
  z-index: 10000;
  font-family: "Outfit", sans-serif;
}

.cookie-preferences {
  font-family: "Outfit", sans-serif;
}

.cookie-consent {
  right: 1rem;
  bottom: 4.5rem;
  left: 1rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.1rem 1.2rem;
  border: 1px solid #dce4da;
  border-radius: 6px;
  background: #fffefa;
  color: #26342f;
  box-shadow: 0 14px 36px rgba(20, 40, 31, 0.2);
}

.cookie-consent h2 {
  margin: 0 0 0.4rem;
  color: #26342f;
  font: 700 1.05rem/1.3 "Outfit", sans-serif;
}

.cookie-consent p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.cookie-consent button,
.cookie-preferences {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid #60756a;
  border-radius: 4px;
  background: #fffefa;
  color: #26342f;
  font: 600 0.9rem/1.2 "Outfit", sans-serif;
  cursor: pointer;
}

.cookie-consent button[data-consent="granted"] {
  border-color: #29473a;
  background: #29473a;
  color: #fffefa;
}

.cookie-consent button:focus-visible,
.cookie-preferences:focus-visible {
  outline: 3px solid #9e285e;
  outline-offset: 3px;
}

.cookie-preferences {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 3px;
  background: transparent;
  color: #fffaf2;
  font: 600 0.75rem/1.2 "Outfit", sans-serif;
  cursor: pointer;
}

footer .cookie-preferences {
  margin-top: 0.5rem;
  border-color: #aab5aa;
  color: inherit;
}

@media (max-width: 540px) {
  .cookie-consent {
    right: 0.65rem;
    bottom: 4rem;
    left: 0.65rem;
    padding: 0.9rem;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent button {
    min-height: 46px;
  }

  .topbar-actions .cookie-preferences {
    min-height: 36px;
    padding-inline: 0.65rem;
    font-size: 0.78rem;
  }
}