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

.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem;
  color: #fdf8eb;
  background: #173c2b;
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(13, 31, 23, 0.3);
  font-family: inherit;
}

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

.cookie-consent h2 {
  margin: 0 0 0.35rem;
  color: #fff6df;
  font-size: 1.05rem;
  line-height: 1.3;
}

.cookie-consent p {
  max-width: 680px;
  margin: 0;
  color: #f7efd9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent a {
  color: #f0c66e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-consent__button,
.cookie-settings {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.cookie-consent__button--primary {
  color: #173c2b;
  background: #f0c66e;
}

.cookie-consent__button--secondary {
  color: #fff6df;
  background: transparent;
  border: 1px solid rgba(255, 246, 223, 0.65);
}

.cookie-consent__button:focus-visible,
.cookie-settings:focus-visible {
  outline: 3px solid #fff6df;
  outline-offset: 3px;
}

.cookie-settings {
  position: fixed;
  z-index: 9999;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.45rem 0.7rem;
  color: #fff6df;
  background: #173c2b;
  border: 1px solid rgba(217, 164, 65, 0.7);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(13, 31, 23, 0.2);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

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

  .cookie-consent__content {
    display: block;
  }

  .cookie-consent__actions {
    margin-top: 0.85rem;
  }

  .cookie-consent__button {
    flex: 1;
  }
}
