.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie-bar__card {
  pointer-events: auto;
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 1.1rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(13, 17, 25, 0.16);
}

[data-theme="night"] .cookie-bar__card {
  background: #171b26;
}

.cookie-bar__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.cookie-bar__text {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.cookie-bar__text a {
  color: var(--brand-royal);
  text-decoration: underline;
}

.cookie-bar__panel {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}

.cookie-bar__panel[hidden] {
  display: none !important;
}

.cookie-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  font-size: 0.9rem;
}

.cookie-bar__row small {
  display: block;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.cookie-bar__actions {
  display: grid;
  gap: 0.45rem;
}

.cookie-bar__btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 0.92rem var(--font);
  cursor: pointer;
}

.cookie-bar__btn--primary {
  background: var(--brand-royal);
  border-color: var(--brand-royal);
  color: #fff;
}

.cookie-bar__btn--ghost {
  border-color: transparent;
  text-decoration: underline;
}

.footer__legal button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--footer-muted);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}

.footer__legal button:hover { color: var(--footer-accent); }

.consent-field,
.zamer-modal__consent.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
  cursor: pointer;
}

.consent-field a { color: var(--brand-royal); }

@media (min-width: 720px) {
  .cookie-bar__actions {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
  }
}
