#cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 14px;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(1040px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  margin: 0 auto;
  transform: translateX(-50%);
  padding: 14px;
  background: #fffaf1;
  color: #171411;
  border: 1px solid rgba(23, 20, 17, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(51, 39, 26, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#cookie-banner .cb-text {
  min-width: 0;
  width: 100%;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

#cookie-banner .cb-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#cookie-banner button {
  min-height: 40px;
  border: 1px solid rgba(23, 20, 17, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  color: #171411;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
}

#cookie-banner button.primary {
  background: #171411;
  color: #fffaf1;
}

@media (max-width: 760px) {
  #cookie-banner {
    display: block;
  }

  #cookie-banner .cb-actions {
    margin-top: 12px;
  }
}
