.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 99999;
  width: min(900px, calc(100% - 32px));
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(34, 67, 108, 0.14);
  box-shadow: 0 22px 60px rgba(31, 48, 68, 0.22);
  color: #26323f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #344252;
}

.cookie-banner__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #536274;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.cookie-btn {
  appearance: none;
  border: 1px solid rgba(34, 67, 108, 0.12);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
  font-family: inherit;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn--accept {
  background: linear-gradient(135deg, #0563bb, #2e8b6e);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(5, 99, 187, 0.24);
}

.cookie-btn--reject {
  background: #eef4fa;
  color: #405063;
}

@media (max-width: 760px) {
  .cookie-banner {
    bottom: 14px;
    width: calc(100% - 24px);
    padding: 20px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cookie-banner__title {
    font-size: 18px;
  }

  .cookie-banner__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    width: 100%;
  }
}