.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(520px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid rgba(221, 214, 202, 0.96);
  border-radius: 6px;
  background: #fffef9;
  color: #20231f;
  box-shadow: 0 24px 70px rgba(32, 35, 31, 0.18);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

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

.cookie-consent h2 {
  margin: 0 0 8px;
  color: #20231f;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.15;
}

.cookie-consent p {
  margin: 0;
  color: #4f554d;
  font-size: 0.94rem;
}

.cookie-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-actions button,
.footer-cookie-button {
  min-height: 42px;
  border: 1px solid #343833;
  border-radius: 6px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.cookie-actions button {
  padding: 0 16px;
}

.cookie-actions [data-cookie-accept] {
  background: #343833;
  color: #fffef9;
}

.cookie-actions [data-cookie-reject] {
  background: transparent;
  color: #343833;
}

.footer-cookie-button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(108, 112, 104, 0.32);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .cookie-actions {
    display: grid;
  }
}
