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

.cookie-consent {
  position: fixed;
  z-index: 10000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #fff;
  color: #1f2933;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-consent p {
  margin: .35rem 0 0;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  flex: 0 0 auto;
}

.cookie-consent__button {
  border: 1px solid #173f2b;
  border-radius: 8px;
  padding: .7rem 1rem;
  cursor: pointer;
  font: inherit;
  background: #173f2b;
  color: #fff;
}

.cookie-consent__button--secondary {
  background: #fff;
  color: #173f2b;
}

.cookie-consent__button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .cookie-consent__content {
    align-items: stretch;
    flex-direction: column;
  }

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