/* WDesign Zgody 1.0.0 (24.11.2026): baner zgód + okno ustawień. Wzorzec: Grail zgoda.css.
   Wygląd strony: zmienne --wdz-* (mu-plugin wypisuje je z opcji "kolory"). Trzy przyciski równoważne (ten sam kształt, kolor i rozmiar).
   Desktop: karta POD nagłówkiem po prawej (--wdz-top liczy JS), telefon: karta przyklejona do dołu, elementy fixed (telefon, czat) podnoszone nad nią. */
:where(:root){
  --wdz-bg:#ffffff; --wdz-fg:#1f2328; --wdz-dim:#4a5058; --wdz-line:rgba(31,35,40,.16); --wdz-akc:#1f2328; --wdz-akc-fg:#ffffff;
  --wdz-btn-bg:var(--wdz-akc); --wdz-btn-fg:var(--wdz-akc-fg); --wdz-btn-bd:var(--wdz-akc); --wdz-btn-h-bg:var(--wdz-btn-bg); --wdz-btn-h-fg:var(--wdz-btn-fg);
  --wdz-r:10px; --wdz-btn-r:6px; --wdz-f:inherit; --wdz-f-t:inherit; --wdz-shadow:0 14px 44px rgba(0,0,0,.22); --wdz-z:2147483000;
}
.wdz-baner{
  position:fixed; right:24px; top:var(--wdz-top, 96px); z-index:var(--wdz-z); width:min(430px, calc(100vw - 48px)); box-sizing:border-box;
  background:var(--wdz-bg); color:var(--wdz-fg); border:1px solid var(--wdz-line); border-radius:var(--wdz-r); box-shadow:var(--wdz-shadow);
  padding:20px 20px 18px; margin:0; font-family:var(--wdz-f); font-size:14px; line-height:1.55; text-align:left;
  opacity:0; transform:translateY(-10px); transition:opacity .3s ease, transform .3s ease;
}
.wdz-baner.wdz-dol{ top:auto; bottom:24px; left:24px; right:auto; }
.wdz-baner.on{ opacity:1; transform:none; }
.wdz-baner *, .wdz-tlo *{ box-sizing:border-box; }
.wdz-baner .wdz-t, .wdz-okno .wdz-t{ font-family:var(--wdz-f-t); font-size:18px; font-weight:700; line-height:1.3; margin:0 0 6px; padding:0; color:var(--wdz-fg); letter-spacing:normal; text-transform:none; text-align:left; }
.wdz-baner .wdz-p, .wdz-okno .wdz-p{ margin:0; padding:0; color:var(--wdz-dim); font-size:14px; line-height:1.55; letter-spacing:normal; text-transform:none; text-align:left; font-weight:400; }
.wdz-baner a, .wdz-okno a{ color:var(--wdz-fg); text-decoration:underline; text-underline-offset:2px; }
.wdz-btns{ display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin-top:14px; }
.wdz-baner .wdz-btn, .wdz-okno .wdz-btn{
  -webkit-appearance:none; appearance:none; margin:0; min-height:44px; padding:10px 8px; cursor:pointer; width:100%;
  background:var(--wdz-btn-bg); color:var(--wdz-btn-fg); border:1px solid var(--wdz-btn-bd); border-radius:var(--wdz-btn-r); box-shadow:none;
  font-family:var(--wdz-f); font-size:13px; font-weight:600; line-height:1.25; letter-spacing:normal; text-transform:none; text-align:center; text-decoration:none;
  transition:filter .2s, background .2s;
}
.wdz-baner .wdz-btn:hover, .wdz-okno .wdz-btn:hover{ background:var(--wdz-btn-h-bg); color:var(--wdz-btn-h-fg); filter:brightness(1.12); }
.wdz-btn:focus-visible, .wdz-x:focus-visible, .wdz-sw:focus-visible, .wdz-stopka:focus-visible, .wdz-baner a:focus-visible, .wdz-okno a:focus-visible{ outline:2px solid var(--wdz-fg); outline-offset:3px; }
.wdz-stopka{ color:inherit; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
.wdz-stopka:hover{ opacity:.8; }
.wdz-stopka-p{ margin:0; padding:10px 16px 14px; text-align:center; font-size:13px; }

/* okno ustawień (modal) */
.wdz-tlo{ position:fixed; inset:0; z-index:calc(var(--wdz-z) + 1); background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; transition:opacity .2s; text-align:left; }
.wdz-tlo.on{ opacity:1; }
.wdz-okno{
  position:relative; width:min(580px, 100%); max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); overflow:auto;
  background:var(--wdz-bg); color:var(--wdz-fg); border:1px solid var(--wdz-line); border-radius:var(--wdz-r); box-shadow:var(--wdz-shadow);
  padding:26px 26px 22px; font-family:var(--wdz-f); font-size:14px; line-height:1.55; outline:none;
}
.wdz-okno .wdz-t{ font-size:22px; padding-right:40px; }
.wdz-okno .wdz-x{ position:absolute; top:10px; right:10px; width:40px; height:40px; padding:0; margin:0; background:none; border:0; box-shadow:none; color:var(--wdz-fg); font-size:26px; line-height:1; cursor:pointer; border-radius:var(--wdz-btn-r); font-family:var(--wdz-f); }
.wdz-kats{ margin-top:16px; border-top:1px solid var(--wdz-line); }
.wdz-kat{ padding:13px 0; border-bottom:1px solid var(--wdz-line); }
.wdz-kat-g{ display:flex; align-items:center; gap:12px; }
.wdz-okno .wdz-kat-n{ flex:1; font-weight:700; color:var(--wdz-fg); cursor:pointer; margin:0; padding:0; font-size:15px; }
.wdz-zawsze{ font-size:12px; color:var(--wdz-dim); }
.wdz-kat-o{ margin:6px 0 0; font-size:13px; color:var(--wdz-dim); line-height:1.5; }
.wdz-kat-o .wdz-n{ display:block; margin-top:4px; }
.wdz-okno .wdz-sw{ -webkit-appearance:none; appearance:none; position:relative; flex:none; width:46px; height:26px; margin:0; padding:0; border-radius:13px; background:var(--wdz-line); border:1px solid var(--wdz-line); cursor:pointer; transition:background .2s; box-shadow:none; }
.wdz-okno .wdz-sw::before{ display:none; }
.wdz-okno .wdz-sw::after{ content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); transition:transform .2s; }
.wdz-okno .wdz-sw:checked{ background:var(--wdz-akc); border-color:var(--wdz-akc); }
.wdz-okno .wdz-sw:checked::after{ transform:translateX(20px); background:var(--wdz-akc-fg); }
.wdz-okno .wdz-sw:disabled{ opacity:.55; cursor:default; }
html.wdz-modal{ overflow:hidden; }

@media (max-width:767px){
  .wdz-baner, .wdz-baner.wdz-dol{ top:auto; left:8px; right:8px; bottom:calc(8px + env(safe-area-inset-bottom, 0px)); width:auto; transform:translateY(14px);
    max-height:calc(100vh - 16px); max-height:calc(100dvh - 16px); overflow:auto; padding:15px 15px 13px; }
  .wdz-baner.on{ transform:none; }
  .wdz-baner .wdz-t{ font-size:16px; margin-bottom:4px; }
  .wdz-baner .wdz-p{ font-size:13px; line-height:1.5; }
  .wdz-btns{ gap:6px; margin-top:11px; }
  .wdz-baner .wdz-btn, .wdz-okno .wdz-btn{ padding:8px 4px; font-size:12.5px; min-height:44px; }
  .wdz-tlo{ padding:0; align-items:flex-end; }
  .wdz-okno{ max-height:92vh; max-height:92dvh; padding:22px 16px 16px; border-radius:var(--wdz-r) var(--wdz-r) 0 0; }
}
@media (prefers-reduced-motion:reduce){ .wdz-baner, .wdz-tlo, .wdz-sw, .wdz-sw::after{ transition:none; } }
@media print{ .wdz-baner, .wdz-tlo{ display:none !important; } }
