/* Cookie consent — site chrome (Overpass / --clr-main), low-left */
.cookie-banner {
  --cookie-bg: #fff;
  --cookie-border: var(--clr-main, #74bb17);
  --cookie-ink: #222;
  --cookie-muted: #555;
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 100000;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 1.1rem 1.15rem 1.15rem;
  font-family: var(--h-font-family, "Overpass", sans-serif);
  color: var(--cookie-ink);
  background: var(--cookie-bg);
  border: 2px solid var(--cookie-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--clr-main, #74bb17);
}
.cookie-banner__text {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--cookie-muted);
}
.cookie-banner__link {
  color: var(--clr-main, #74bb17);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 999px;
  border: 2px solid var(--clr-main, #74bb17);
  cursor: pointer;
}
.cookie-banner__btn--primary {
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(239, 187, 23, 1) 0%,
    rgba(242, 142, 38, 1) 50%,
    rgba(253, 100, 79, 1) 100%
  );
  /* Keep 2px border so primary matches ghost button box size */
  border-color: rgba(253, 100, 79, 1);
}
.cookie-banner__btn--primary:hover {
  box-shadow: 0 6px 16px rgba(223, 69, 47, 0.35);
}
.cookie-banner__btn--ghost {
  color: var(--clr-main, #74bb17);
  background: transparent;
}
.cookie-banner__btn--ghost:hover {
  background: rgba(116, 187, 23, 0.08);
}
.cookie-banner__panel {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(116, 187, 23, 0.25);
}
.cookie-banner__panel[hidden] {
  display: none !important;
}
.cookie-banner__list {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}
.cookie-banner__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.35;
}
.cookie-banner__item input {
  margin-top: 0.2rem;
  accent-color: var(--clr-main, #74bb17);
}
.cookie-banner__item input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-banner__hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--cookie-muted);
}
@media (max-width: 480px) {
  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    max-width: none;
  }
  .cookie-banner__actions {
    flex-direction: column;
  }
  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}
