/* Cookie banner — alsó felugró sáv (Eszter v2 szöveg, Abigél fókusz)
   Szín-paletta a 26-os oldalhoz illesztve (Gábor 2026-05-31):
   - brand-primary: --anchor-blue #2563d9
   - hero-háttér: --sky-blue #e8f3fc, --light-blue #c8e0f4
   - szöveg: --ink #1d1d1f, --ink-soft #515154, --ink-faint #86868b
   - eredeti backup: cookie-banner.css.bak-szin-illesztes-20260531-1010 */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: linear-gradient(180deg, #ffffff 0%, var(--sky-blue, #e8f3fc) 100%);
  border-top: 3px solid var(--anchor-blue, #2563d9);
  box-shadow: 0 -8px 32px rgba(14, 29, 61, 0.12);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#cookie-banner.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: 1180px;
}

.cookie-banner__visual {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-blue, #e8f3fc), var(--light-blue, #c8e0f4));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 217, 0.25);
}

.cookie-banner__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cookie-banner__visual-fallback {
  font-size: 54px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(14, 29, 61, 0.1));
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #1d1d1f);
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cookie-banner__desc {
  font-size: 14px;
  color: var(--ink-soft, #515154);
  line-height: 1.5;
  margin: 0 0 6px;
}

.cookie-banner__legal {
  font-size: 12px;
  color: var(--ink-soft, #515154);
}

.cookie-banner__legal a {
  color: var(--anchor-blue, #2563d9);
  text-decoration: underline;
}

.cookie-banner__legal a:hover {
  color: var(--anchor-blue-hover, #1e4fbf);
}

.cookie-banner__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}

.cookie-banner__btn {
  border: 0;
  border-radius: 980px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__btn--primary {
  background: var(--anchor-blue, #2563d9);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 217, 0.35);
}

.cookie-banner__btn--primary:hover {
  background: var(--anchor-blue-hover, #1e4fbf);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 217, 0.45);
}

.cookie-banner__btn--secondary {
  background: #ffffff;
  color: var(--anchor-blue, #2563d9);
  border: 1px solid var(--anchor-blue, #2563d9);
}

.cookie-banner__btn--secondary:hover {
  background: var(--sky-blue, #e8f3fc);
  color: var(--anchor-blue-hover, #1e4fbf);
  border-color: var(--anchor-blue-hover, #1e4fbf);
}

/* Amig a cookie-banner latszik, toljuk feljebb a sticky CTA-klont, ne fedjek egymast */
body.cookie-banner-visible #hero-cta-sticky-clone.is-sticky-bottom {
  bottom: 170px;
  transition: bottom 0.35s ease;
}

@media (max-width: 768px) {
  #cookie-banner {
    padding: 14px 16px;
  }
  .cookie-banner__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .cookie-banner__visual {
    width: 64px;
    height: 64px;
  }
  .cookie-banner__visual-fallback {
    font-size: 38px;
  }
  .cookie-banner__title {
    font-size: 16px;
  }
  .cookie-banner__desc {
    font-size: 13px;
    line-height: 1.45;
  }
  .cookie-banner__actions {
    flex-direction: row;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }
  .cookie-banner__btn {
    flex: 1;
    padding: 12px 12px;
    font-size: 13px;
  }
  body.cookie-banner-visible #hero-cta-sticky-clone.is-sticky-bottom {
    bottom: 250px;
  }
}
