.cookie-consent {
  position: fixed;
  z-index: 100;
  inset-inline-end: 12px;
  inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100% - 24px));
  padding: 18px;
  background: var(--bg, #f8f6f2);
  color: var(--ink, #282523);
  border: 1px solid var(--line, #d8d0c6);
  box-shadow: 0 10px 30px #22150626;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent-close {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-end: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink, #282523);
  font: 24px/1 var(--font-body, Arial, sans-serif);
  cursor: pointer;
}

.cookie-consent-close:hover {
  color: var(--accent, #682331);
  background: #68233112;
}

.cookie-consent h2 {
  padding-inline-end: 32px;
  margin: 0 0 5px;
  font: 600 16px/1.35 var(--font-body, Arial, sans-serif);
}

.cookie-consent p {
  margin: 0 0 12px;
}

.cookie-consent p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cookie-consent-actions button {
  min-height: 44px;
  padding: 7px 6px;
  border: 1px solid var(--accent, #682331);
  background: transparent;
  color: var(--accent, #682331);
  font: 600 14px/1.2 var(--font-body, Arial, sans-serif);
  cursor: pointer;
}

.cookie-consent-actions button:hover {
  background: var(--accent, #682331);
  color: #fff;
}

.footer-policy .cookie-settings {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.footer-policy .cookie-settings:hover {
  text-decoration: underline;
}

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

  .footer-policy {
    flex-wrap: wrap;
  }
}
