.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

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

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: space-between;
}

.cookie-banner__text {
  max-width: 760px;
}

.cookie-banner__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cookie-banner__copy {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__copy a {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-banner__button {
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-banner__button--primary {
  background: #b91c1c;
  color: #fff;
}

.cookie-banner__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-banner__inner {
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__button {
    flex: 1 1 100%;
    text-align: center;
  }
}
