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

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  box-sizing: border-box;
  padding: 18px 24px;
  border-top: 1px solid #d7d7d7;
  background: #fff;
  color: #242424;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.16);
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.cookie-consent__copy {
  max-width: 760px;
}

.cookie-consent__copy h2 {
  margin: 0 0 6px;
  color: #222;
  font-size: 1.15rem;
  font-weight: 600;
}

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

.cookie-consent__copy a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.cookie-consent__button {
  min-width: 154px;
  padding: 11px 18px;
  border: 2px solid #167aa3;
  border-radius: 4px;
  background: #167aa3;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.cookie-consent__button:hover {
  background: #126585;
  border-color: #126585;
}

.cookie-consent__button:focus-visible,
[data-cookie-settings]:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
}

.cookie-settings-button {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 18px;
  border: 2px solid #167aa3;
  border-radius: 4px;
  background: #fff;
  color: #167aa3;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.cookie-settings-button:hover {
  background: #f2f8fa;
}

@media (max-width: 760px) {
  .cookie-consent {
    padding: 16px;
  }

  .cookie-consent__content {
    display: block;
  }

  .cookie-consent__actions {
    margin-top: 16px;
  }

  .cookie-consent__button {
    flex: 1 1 50%;
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
