.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(800px, calc(100% - 48px));
  padding: 24px;
  background: #fff;
  color: #414042;
  border: 1px solid #d5d8d2;
  border-radius: 16px;
  box-shadow: 0 16px 56px rgb(30 30 30 / 18%);
  font-family: var(--f-body);
}
.cookie-consent__copy { flex: 1; min-width: 0; }
.cookie-consent h2 { margin: 0 0 5px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.cookie-consent p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-consent a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-consent__button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #c8cbc6;
  border-radius: 10px;
  background: #fff;
  color: #414042;
  font-size: 14px;
  font-weight: 600;
}
.cookie-consent__button--primary { background: #febe33; border-color: #febe33; }
.cookie-consent__button:hover { border-color: #414042; }
.cookie-consent__button:focus-visible { outline: 2px solid #414042; outline-offset: 3px; box-shadow: 0 0 0 5px #febe33; }
.footer__cookie-settings { color: inherit; font-size: inherit; line-height: inherit; text-align: left; vertical-align: baseline; }
.footer__cookie-settings:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    display: block;
    width: auto;
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom));
    overflow-y: auto;
    padding: 18px;
  }
  .cookie-consent__actions { margin-top: 16px; }
  .cookie-consent__button { flex: 1; }
}
