.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #f6f7f4;
  background: #111817;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 34px rgba(0,0,0,.24);
}

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

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__text a {
  color: #d6ed35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__accept {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  color: #111817;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #d6ed35;
  border: 0;
}

.cookie-consent__accept:hover,
.cookie-consent__accept:focus-visible {
  background: #e6fa4c;
}

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

  .cookie-consent__accept {
    width: 100%;
    margin-top: 14px;
  }
}
