.consent {
  position: fixed;
  z-index: 45;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: 50%;
  width: min(48rem, calc(100% - 1.5rem));
  transform: translateX(-50%);
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: #f7f3eb;
  color: #101010;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
}

.consent[hidden],
.consent [hidden] {
  display: none;
}

.consent__choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem 1.25rem;
  align-items: center;
}

.consent__title {
  margin: 0;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.04em;
}

.consent p {
  margin: 0.3rem 0 0;
  color: #3a3834;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.consent .consent__title {
  margin: 0;
  color: #101010;
  font-size: 0.98rem;
  font-weight: 800;
}

.consent .consent__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.9rem;
  align-items: center;
  margin-top: 0.4rem;
}

.consent__policy {
  color: #101010;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.consent__actions {
  display: flex;
  gap: 0.45rem;
  margin: 0;
}

.consent__btn,
.consent__settings,
.footer-consent {
  font: inherit;
  cursor: pointer;
}

.consent__btn {
  flex: 1 1 8.25rem;
  min-width: 8.25rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid #101010;
  border-radius: 999px;
  background: transparent;
  color: #101010;
  font-size: 0.84rem;
  font-weight: 700;
}

.consent__btn:hover,
.consent__btn:focus-visible {
  background: #101010;
  color: #f7f2e6;
}

.consent__settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: #101010;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.consent__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(16, 16, 16, 0.14);
}

.consent__row p,
.consent__hint,
.consent__absent {
  margin: 0.25rem 0 0;
}

.consent__label {
  display: block;
  color: #101010;
  font-size: 0.84rem;
  font-weight: 800;
}

.consent__lock {
  flex: 0 0 auto;
  color: #5e594f;
  font-size: 0.78rem;
  font-weight: 700;
}

.consent [data-view="settings"] .consent__actions {
  width: 100%;
  margin-top: 0.75rem;
}

.consent__check {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  accent-color: #01dce3;
}

.footer-nav .footer-consent {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(244, 241, 234, 0.74);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}

.footer-nav .footer-consent:hover {
  color: #01dce3;
}

@media (max-width: 720px) {
  .consent__choice {
    grid-template-columns: 1fr;
  }

  .consent__actions {
    width: 100%;
  }
}
