.cookie-consent {
  position: fixed;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__card {
  pointer-events: auto;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg, 18px);
  background: rgba(15, 23, 42, 0.97);
  color: #ffffff;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

.cookie-consent__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cookie-consent__text {
  margin: 0;
  color: #dbe4ef;
  font-size: 0.85rem;
  line-height: 1.6;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.footer__cookie-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-2, #d9c3a3);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .cookie-consent {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .cookie-consent__card {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions .btn {
    flex: 1 1 auto;
  }
}
