/* RemiMat - pop-up zgody na cookies (obsluga: rm-zgody.js). Nazwy pliku, klas i id celowo bez slow cookie/consent - listy Cookie notices (Brave, Opera, uBlock, AdGuard) ukrywaly pop-up i blokowaly plik cookie-consent.js. */
.zg-popup { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; pointer-events: none; animation: zgSlideUp .35s ease; }
.zg-popup__card { pointer-events: auto; display: flex; align-items: center; gap: 18px; width: 100%; max-width: 980px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.zg-popup__ic { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -8px rgba(58, 75, 194, .6); }
.zg-popup__ic .ic { width: 22px; height: 22px; }
.zg-popup__txt { flex: 1; min-width: 0; }
.zg-popup__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.zg-popup__text { margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.zg-popup__text a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent-2); white-space: nowrap; }
.zg-popup__text a:hover { text-decoration-color: currentColor; }
.zg-popup__actions { flex-shrink: 0; display: flex; gap: 8px; }
@keyframes zgSlideUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .zg-popup { animation: none; } }
@media (max-width: 760px) {
  .zg-popup { left: 10px; right: 10px; bottom: 10px; }
  .zg-popup__card { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .zg-popup__ic { width: 40px; height: 40px; border-radius: 12px; }
  .zg-popup__text a { white-space: normal; }
  .zg-popup__actions { width: 100%; }
  .zg-popup__actions .btn { flex: 1 1 0; }
}
/* przycisk WhatsApp nie zasłania pop-upu */
body.zg-open .wa-float { opacity: 0; pointer-events: none; }
