.cookie-consent {
  position: fixed;
  z-index: 10000;
  left: 30px;
  right: 30px;
  bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: 27px 42px;
  border: 1px solid #000;
  background: #f0ede4;
  color: #000;
}

.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin: 0 0 9px; font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.cookie-consent p { max-width: 760px; margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-consent__actions { display: flex; gap: 18px; align-items: center; }
.cookie-action { min-height: 48px; padding: 0 30px; border: 1px solid #000; border-radius: 0; background: transparent; color: #000; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.cookie-action:hover, .cookie-action:focus-visible { background: #000; color: #fff; }
.cookie-action--text { min-height: auto; padding: 7px 0; border-width: 0 0 1px; }
.cookie-action--primary { background: #ffd400; }
.cookie-settings { display: grid; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.22); }
.cookie-settings[hidden] { display: none; }
.cookie-settings label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cookie-settings input { margin-top: 3px; accent-color: #000; }
.cookie-settings span { display: grid; gap: 2px; }
.cookie-settings strong { font-size: 12px; }
.cookie-settings small { font-size: 11px; line-height: 1.35; color: #54524c; }
.legal-row { display: flex; justify-content: space-between; align-items: center; margin-top: 85px; }
.legal-row .legal { margin: 0; }
.cookie-preferences-link { padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

@media (max-width: 800px) {
  .cookie-consent { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-action { width: 100%; padding: 0 14px; }
  .cookie-action--text { grid-column: 1 / -1; justify-self: start; width: auto; }
}

@media (max-width: 430px) {
  .cookie-consent h2 { font-size: 24px; }
  .cookie-consent p { font-size: 13px; }
  .cookie-consent__actions { gap: 10px; }
}
