/* ============================================================
   SPIS TREŚCI - pbw.css (Pakiet Bezpiecznego Wynajmu: szablon pbw.php i bloki pbw-*)
   1. GLOBALNE STYLE PBW
      1a. Skalowanie rem (html font-size jak na dawnej PBW; front i iframe edytora z blokami pbw-*)
      1b. Tempo animacji wejścia (zmienne reveal.js jak AOS na dawnej PBW)
      1c. Baza PBW (przewijanie do kotwic, linki, pola, checkbox, akcent pól)
      1d. Typografia body (prose z kompilatu PBW: kolor, interlinia 1.75, marginesy treści)
   2. HEADER I PANEL MENU (chowanie przy przewijaniu, panel mobilny z pbw.js)
   3. PODGLĄD DOKUMENTU (okno .pbwPreview, które buduje pbw.js)
   4. SCENA KART „CO JEST W ŚRODKU” (bez reguł: scena w pbw.js, uwaga o pin-spacerze)
   5. RYZYKO WYNAJMU (radar, unoszenie)
   6. PAKIETY (bez reguł: tabela wariantów w klasach, wygaszanie dokumentów w pbw.js)
   7. FAQ (aktywna kategoria, ikona akordeonu)
   8. CONTACT FORM 7 W PBW
   10-19. Bloki górne (blocks-pbw.html) - sekcje dopisują budowniczy bloków
   20-29. Pakiety, FAQ, opinie (blocks-pbw-2.html)
   20. OPINIE (blok pbw-reviews, moduł pbw-opinie.js; widget Turnstile w oknie dodawania)
   ------------------------------------------------------------
   Arkusz ładuje inc/enqueue.php (sekcja 2f) tylko na szablonie pbw.php i w edytorze bloków.
   Zakres: reguły globalne stoją pod body.pbwPage (klasa na <body> mastera pbw.html), reguły
   na <html> pod html:has(> body.pbwPage); w iframe edytora pod blokami pbw-* (data-type).
   Hooki pbw* (camelCase) same w sobie są zakresem i nie łapią reszty serwisu.

   Warstwy: na dawnej PBW cały arkusz motywu (inc/main.min.css) ładował się po tailwind.css
   BEZ warstwy, więc jego reguły biły utility na elementach (np. paski hamburgera miały 25 px
   i kolor #000 mimo klas w-full i bg-darkGray). Port 1:1 to wynik kaskady, nie klasy z markupu:
   reguły przeniesione z PBW zostają poza warstwą (świadomie, tylko pod hookami pbw* albo
   body.pbwPage). W warstwie stoją tylko stany przełączane przez pbw.js, które nie mają
   odpowiednika na PBW (panel menu), i skalowanie rem (na <html> nie ma utility).
   ============================================================ */
@layer theme, base, components, utilities;


/* === 1. GLOBALNE STYLE PBW === */

/* --- 1a. Skalowanie rem ---
   Cała dawna PBW rośnie z szerokością okna: 16 px do 767, 14 px 768-1023, od 1024 płynnie
   (ok. 16 px przy 1500, 19,15 px przy 1920), a przy niskich oknach od 1024 mniej. Progi w rem:
   w media queries rem to zawsze 16 px, niezależnie od font-size na <html>.
   Edytor: iframe ma własny viewport, więc vw i progi liczą się od jego szerokości. Selektor
   z body.editor-styles-wrapper łapie tylko iframe (w edytorze bez iframe .editor-styles-wrapper
   to div, a nie body, więc panel WP zostaje nietknięty). */
@layer base {
  html:has(> body.pbwPage),
  html:has(> body.editor-styles-wrapper [data-type^="protektor-nieruchomosci/pbw-"]) {
    font-size: 16px;
  }

  @media (width >= 48rem) {
    html:has(> body.pbwPage),
    html:has(> body.editor-styles-wrapper [data-type^="protektor-nieruchomosci/pbw-"]) {
      font-size: 14px;
    }
  }

  @media (width >= 64rem) {
    html:has(> body.pbwPage),
    html:has(> body.editor-styles-wrapper [data-type^="protektor-nieruchomosci/pbw-"]) {
      font-size: clamp(11px, 0.75vw + 4.75px, 20px);
    }
  }

  @media (width >= 64rem) and (height <= 800px) {
    html:has(> body.pbwPage),
    html:has(> body.editor-styles-wrapper [data-type^="protektor-nieruchomosci/pbw-"]) {
      font-size: clamp(10px, 0.49vw + 6.2px, 16px);
    }
  }
}

/* --- 1b. Tempo animacji wejścia ---
   Poza warstwą jak :root w animations.css (sekcja 6); wyższa specyficzność wygrywa z tempem
   reszty serwisu. reveal.js czyta te zmienne z <html> raz, na starcie. Wartości jak AOS na
   dawnej PBW (duration 1000, reszta domyślna): 1 s, ease, przesunięcie 100 px, zoom-in od
   skali 0,6, linia startu 120 px nad dolną krawędzią okna, powtórka po zejściu elementu pod
   okno, start od razu (bez czekania na window.load). Per element: data-anim-duration,
   data-anim-delay, data-anim-offset (px, data-aos-offset). */
html:has(> body.pbwPage) {
  --wb-anim-duration: 1s;
  --wb-anim-ease: ease;
  --wb-anim-shift-default: 100px;
  --wb-anim-zoom: 0.6;
  --wb-anim-offset: 120px;
  --wb-anim-once: 0;
  --wb-anim-after-load: 0;
}

/* --- 1c. Baza PBW --- */
/* Kotwice: sekcje PBW mają własne scroll-mt-*, a header PBW nie ma klasy .header, więc
   scroll-padding-top z custom.css (sekcja 9) dałby drugi odstęp 4.25rem z wartości zapasowej. */
@layer base {
  html:has(> body.pbwPage) {
    scroll-padding-top: 0;
  }
}

/* Nagłówki zawsze w Inter: kompilat PBW miał poza warstwą h1-h6 { font-family: Inter } (font
   nagłówków przypisany w panelu Design PG), więc klasa font-Roboto na nagłówku nie działała.
   Ta sama specyficzność co tam (:where nie liczy się). */
:where(body.pbwPage, body.editor-styles-wrapper:has([data-type^="protektor-nieruchomosci/pbw-"])) :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-Inter);
}

/* Z inc/main.min.css PBW, poza warstwą jak tam. */
body.pbwPage a:not(.underline):not(.hover\:underline) {
  text-decoration: none;
}

body.pbwPage textarea:focus,
body.pbwPage input:focus {
  border: 1px solid #181818 !important;
  --tw-ring-color: #181818 !important;
}

body.pbwPage input[type="checkbox"] {
  color: #181818;
}

body.pbwPage input[type="checkbox"]:focus {
  --tw-ring-shadow: none !important;
  --tw-ring-offset-shadow: none !important;
}

/* Fokus z klawiatury: PBW zerowało ring, zostawała ramka 1 px. Myszą bez zmian (1:1). */
body.pbwPage input[type="checkbox"]:focus-visible {
  outline: 2px solid #181818;
  outline-offset: 2px;
}

body.pbwPage input[type="checkbox"]:checked {
  background-color: #fff;
  border: 1px solid #181818;
  --tw-ring-shadow: none !important;
  --tw-ring-offset-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}

/* custom.css (sekcja 3) daje polom wyboru akcent primary-500; PBW miała systemowy. */
body.pbwPage :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: auto;
}


/* --- 1d. Typografia body (prose) ---
   Kompilat Tailwinda dawnej PBW miał w @layer components regułę body z klasą prose
   (wtyczka typography): kolor #374151, 1rem, interlinia 1.75 i marginesy elementów treści
   poza .not-prose. Interlinię i kolor dziedziczy wszystko na stronie, także elementy
   w .not-prose bez własnej klasy (np. pozycje menu stopki mają przez to 28 px wysokości).
   Przeniesione 1:1 (zagnieżdżenie CSS jak w kompilacie PBW), bez padding-top body:
   na PBW i u nas zeruje go styl globalny WordPressa. W edytorze ta sama baza na body iframe
   z blokami pbw-*. */
@layer components {
  body:where(.pbwPage, .editor-styles-wrapper:has([data-type^="protektor-nieruchomosci/pbw-"])) {
    color: var(--tw-prose-body);
    :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 1.25em;
      margin-bottom: 1.25em;
    }
    :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-lead);
      font-size: 1.25em;
      line-height: 1.6;
      margin-top: 1.2em;
      margin-bottom: 1.2em;
    }
    :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-links);
      text-decoration: underline;
      font-weight: 500;
    }
    :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-bold);
      font-weight: 600;
    }
    :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: decimal;
      margin-top: 1.25em;
      margin-bottom: 1.25em;
      padding-left: 1.625em;
    }
    :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: upper-alpha;
    }
    :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: lower-alpha;
    }
    :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: upper-alpha;
    }
    :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: lower-alpha;
    }
    :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: upper-roman;
    }
    :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: lower-roman;
    }
    :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: upper-roman;
    }
    :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: lower-roman;
    }
    :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: decimal;
    }
    :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      list-style-type: disc;
      margin-top: 1.25em;
      margin-bottom: 1.25em;
      padding-left: 1.625em;
    }
    :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
      font-weight: 400;
      color: var(--tw-prose-counters);
    }
    :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
      color: var(--tw-prose-bullets);
    }
    :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-headings);
      font-weight: 600;
      margin-top: 1.25em;
    }
    :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      border-color: var(--tw-prose-hr);
      border-top-width: 1;
      margin-top: 3em;
      margin-bottom: 3em;
    }
    :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      font-weight: 500;
      font-style: italic;
      color: var(--tw-prose-quotes);
      border-left-width: 0.25rem;
      border-left-color: var(--tw-prose-quote-borders);
      quotes: "\201C""\201D""\2018""\2019";
      margin-top: 1.6em;
      margin-bottom: 1.6em;
      padding-left: 1em;
    }
    :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
      content: open-quote;
    }
    :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
      content: close-quote;
    }
    :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-headings);
      font-weight: 800;
      font-size: 2.25em;
      margin-top: 0;
      margin-bottom: 0.8888889em;
      line-height: 1.1111111;
    }
    :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      font-weight: 900;
      color: inherit;
    }
    :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-headings);
      font-weight: 700;
      font-size: 1.5em;
      margin-top: 2em;
      margin-bottom: 1em;
      line-height: 1.3333333;
    }
    :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      font-weight: 800;
      color: inherit;
    }
    :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-headings);
      font-weight: 600;
      font-size: 1.25em;
      margin-top: 1.6em;
      margin-bottom: 0.6em;
      line-height: 1.6;
    }
    :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      font-weight: 700;
      color: inherit;
    }
    :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-headings);
      font-weight: 600;
      margin-top: 1.5em;
      margin-bottom: 0.5em;
      line-height: 1.5;
    }
    :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      font-weight: 700;
      color: inherit;
    }
    :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 2em;
      margin-bottom: 2em;
    }
    :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      display: block;
      margin-top: 2em;
      margin-bottom: 2em;
    }
    :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      font-weight: 500;
      font-family: inherit;
      color: var(--tw-prose-kbd);
      box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
      font-size: 0.875em;
      border-radius: 0.3125rem;
      padding-top: 0.1875em;
      padding-right: 0.375em;
      padding-bottom: 0.1875em;
      padding-left: 0.375em;
    }
    :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-code);
      font-weight: 600;
      font-size: 0.875em;
    }
    :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
      content: "`";
    }
    :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
      content: "`";
    }
    :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
      font-size: 0.875em;
    }
    :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
      font-size: 0.9em;
    }
    :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: inherit;
    }
    :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-pre-code);
      background-color: var(--tw-prose-pre-bg);
      overflow-x: auto;
      font-weight: 400;
      font-size: 0.875em;
      line-height: 1.7142857;
      margin-top: 1.7142857em;
      margin-bottom: 1.7142857em;
      border-radius: 0.375rem;
      padding-top: 0.8571429em;
      padding-right: 1.1428571em;
      padding-bottom: 0.8571429em;
      padding-left: 1.1428571em;
    }
    :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      background-color: transparent;
      border-width: 0;
      border-radius: 0;
      padding: 0;
      font-weight: inherit;
      color: inherit;
      font-size: inherit;
      font-family: inherit;
      line-height: inherit;
    }
    :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
      content: none;
    }
    :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
      content: none;
    }
    :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      width: 100%;
      table-layout: auto;
      text-align: left;
      margin-top: 2em;
      margin-bottom: 2em;
      font-size: 0.875em;
      line-height: 1.7142857;
    }
    :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      border-bottom-width: 1px;
      border-bottom-color: var(--tw-prose-th-borders);
    }
    :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-headings);
      font-weight: 600;
      vertical-align: bottom;
      padding-right: 0.5714286em;
      padding-bottom: 0.5714286em;
      padding-left: 0.5714286em;
    }
    :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      border-bottom-width: 1px;
      border-bottom-color: var(--tw-prose-td-borders);
    }
    :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      border-bottom-width: 0;
    }
    :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      vertical-align: baseline;
    }
    :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      border-top-width: 1px;
      border-top-color: var(--tw-prose-th-borders);
    }
    :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      vertical-align: top;
    }
    :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
      margin-bottom: 0;
    }
    :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      color: var(--tw-prose-captions);
      font-size: 0.875em;
      line-height: 1.4285714;
      margin-top: 0.8571429em;
    }
    --tw-prose-body: #374151;
    --tw-prose-headings: #111827;
    --tw-prose-lead: #4b5563;
    --tw-prose-links: #111827;
    --tw-prose-bold: #111827;
    --tw-prose-counters: #6b7280;
    --tw-prose-bullets: #d1d5db;
    --tw-prose-hr: #e5e7eb;
    --tw-prose-quotes: #111827;
    --tw-prose-quote-borders: #e5e7eb;
    --tw-prose-captions: #6b7280;
    --tw-prose-kbd: #111827;
    --tw-prose-kbd-shadows: 17 24 39;
    --tw-prose-code: #111827;
    --tw-prose-pre-code: #e5e7eb;
    --tw-prose-pre-bg: #1f2937;
    --tw-prose-th-borders: #d1d5db;
    --tw-prose-td-borders: #e5e7eb;
    --tw-prose-invert-body: #d1d5db;
    --tw-prose-invert-headings: #fff;
    --tw-prose-invert-lead: #9ca3af;
    --tw-prose-invert-links: #fff;
    --tw-prose-invert-bold: #fff;
    --tw-prose-invert-counters: #9ca3af;
    --tw-prose-invert-bullets: #4b5563;
    --tw-prose-invert-hr: #374151;
    --tw-prose-invert-quotes: #f3f4f6;
    --tw-prose-invert-quote-borders: #374151;
    --tw-prose-invert-captions: #9ca3af;
    --tw-prose-invert-kbd: #fff;
    --tw-prose-invert-kbd-shadows: 255 255 255;
    --tw-prose-invert-code: #fff;
    --tw-prose-invert-pre-code: #d1d5db;
    --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
    --tw-prose-invert-th-borders: #4b5563;
    --tw-prose-invert-td-borders: #374151;
    font-size: 1rem;
    line-height: 1.75;
    :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
      margin-bottom: 0;
    }
    :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 2em;
      margin-bottom: 2em;
    }
    :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
    }
    :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-left: 0.375em;
    }
    :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-left: 0.375em;
    }
    :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0.75em;
      margin-bottom: 0.75em;
    }
    :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 1.25em;
    }
    :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-bottom: 1.25em;
    }
    :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 1.25em;
    }
    :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-bottom: 1.25em;
    }
    :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0.75em;
      margin-bottom: 0.75em;
    }
    :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 1.25em;
      margin-bottom: 1.25em;
    }
    :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0.5em;
      padding-left: 1.625em;
    }
    :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
    }
    :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
    }
    :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
    }
    :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
    }
    :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-left: 0;
    }
    :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-right: 0;
    }
    :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-top: 0.5714286em;
      padding-right: 0.5714286em;
      padding-bottom: 0.5714286em;
      padding-left: 0.5714286em;
    }
    :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-left: 0;
    }
    :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      padding-right: 0;
    }
    :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 2em;
      margin-bottom: 2em;
    }
    :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-top: 0;
    }
    :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
      margin-bottom: 0;
    }
  }
}


/* === 2. HEADER I PANEL MENU === */
/* Header PBW (data-pbw-header="1") chowa się przy przewijaniu w dół, pbw.js przełącza klasę.
   Poza warstwą jak .header-hidden na PBW (tam z !important). */
.pbwHeaderHidden {
  transform: translateY(-110%);
}

/* Panel mobilny #pbw-menu: stan bazowy tutaj, nie klasą hidden na elemencie (utility
   zablokowałaby przełączanie). Czas i krzywa jak klasy transition-opacity duration-300,
   które dokładał skrypt PBW. Pozycja menu „Porównanie pakietów” w panelu znika klasą
   pozycji menu pbwMenuDesktopOnly (Wygląd > Menu > Klasy CSS), bo sekcja wariantów
   istnieje tylko od 64rem. */
@layer components {
  .pbwMenuPanel {
    display: none;
    opacity: 0;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .pbwMenuPanel.is-open {
    display: flex;
  }

  .pbwMenuPanel.is-visible {
    opacity: 1;
  }

  .pbwMobileMenu .pbwMenuDesktopOnly {
    display: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .pbwMenuPanel {
      transition: none;
    }
  }
}


/* === 3. PODGLĄD DOKUMENTU === */
/* Okno z kopią karty dokumentu (wybór pakietu: .pbwDocPreview[data-popup-target]). Wartości
   1:1 ze stylów inline, które wstawiał skrypt PBW. */
.pbwPreview {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pbwPreview.is-open {
  display: flex;
}

.pbwPreview.is-visible {
  opacity: 1;
}

.pbwPreviewContent {
  position: relative;
  width: 100%;
  max-width: 1280px;
  max-height: 95vh;
  margin: auto;
  overflow-y: auto;
  border-radius: 18px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.pbwPreview.is-visible .pbwPreviewContent {
  transform: scale(1);
}

.pbwPreviewClose {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pbwPreviewClose:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .pbwPreview,
  .pbwPreviewContent {
    transition: none;
  }
}


/* === 4. SCENA KART „CO JEST W ŚRODKU” === */
/* Scena w całości w pbw.js (GSAP, styl inline). Skrypt PBW próbował dać pin-spacerowi klasę
   bg-blackBg przez self.pinSpacer, którego ScrollTrigger nie ma (to nazwa opcji), więc na
   żywej PBW spacer nigdy nie miał tła. 1:1 = bez tła; gdy kiedyś będzie potrzebne, w pbw.js
   self.spacer i reguła tutaj. */


/* === 5. RYZYKO WYNAJMU === */
/* Unoszenie (.animate-float na PBW) i radar (dawniej Web Animations w custom.js PBW: 6 s,
   kolejne pierścienie co 6 s / liczba pierścieni; trzy pierścienie jako rodzeństwo).
   Animacje bez końca stają przy prefers-reduced-motion (poprawka WCAG bez zmiany wyglądu). */
@keyframes pbwFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.pbwFloat {
  animation: pbwFloat 4.5s ease-in-out infinite;
}

.pbwFloatDelay1 {
  animation-delay: 1.5s;
}

.pbwFloatDelay2 {
  animation-delay: 3s;
}

@keyframes pbwRadar {
  from { transform: scale(1); opacity: 0.25; }
  to { transform: scale(4.5); opacity: 0; }
}

.pbwRadarRing {
  animation: pbwRadar 6s ease-out infinite both;
  will-change: transform, opacity;
}

.pbwRadarRing:nth-child(2) {
  animation-delay: 2s;
}

.pbwRadarRing:nth-child(3) {
  animation-delay: 4s;
}

@media (prefers-reduced-motion: reduce) {
  .pbwFloat,
  .pbwRadarRing {
    animation: none;
  }
}


/* === 6. PAKIETY === */
/* Bez reguł. Tabela wariantów stoi w klasach bloku pbw-variants. Wygaszanie dokumentów: pbw.js
   daje is-disabled; wiersze szczegółów karty wyglądają wg klas group-[.is-disabled]:, dokumenty
   z lewej kolumny dostają style inline na hookach [data-pbw-doc-head] i [data-pbw-doc-img]. */


/* === 7. FAQ === */
/* Aktywna kategoria (#faq button.active na PBW). Tylko przyciski zakładek: pytania
   akordeonu są teraz <button accordion-button> i też dostają .active. */
body.pbwPage [data-tab-buttons] > .active {
  background: #fff;
}

body.pbwPage [data-tab-buttons] > .active span {
  color: #151515;
}

body.pbwPage [data-tab-buttons] > .active .pbwFaqArrow path {
  stroke: #151515;
}

/* Plus zmienia się w minus: obrót pierwszej kreski ikony. */
[accordion-button].active .pbwFaqIcon path:first-of-type {
  rotate: -90deg;
}


/* === 8. CONTACT FORM 7 W PBW === */
/* Style CF7 reszty serwisu (components.css, sekcja 9) omijają body.pbwPage. */
body.pbwPage .wpcf7-list-item {
  margin-left: 0 !important;
}

/* Formularz kontaktowy PBW: CF7 6.2 waliduje na żywo (wyjście z pola), a komunikat w przepływie
   przesuwał zgodę o ok. 52 px w trakcie kliknięcia. Komunikat leży pod polem, w odstępie między
   polami (gap-5 i mt-4 = 1rem i więcej), więc układ stoi. Kolor i rozmiar zostają z arkusza CF7.
   Zgoda (acceptance) bez zmian: jej komunikat pojawia się dopiero po wysłaniu. Formularz
   poradnika zostaje przy domyślnym układzie (pod polem e-mail stoi przycisk w odstępie 12 px). */
body.pbwPage [data-cf7-form="pbw-kontakt"] .wpcf7-form-control-wrap:not(:has(.wpcf7-acceptance)) {
  position: relative;
}
body.pbwPage [data-cf7-form="pbw-kontakt"] .wpcf7-form-control-wrap:not(:has(.wpcf7-acceptance)) > .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  line-height: 1;
  pointer-events: none;
}

/* Odstępy pól jak na PBW. Tam CF7 dokładał autop: etykieta i pole stały w jednym <p> (etykieta
   w linii, <br>, pole), więc etykieta siedziała w wierszu tekstu body (1rem, interlinia 1.75):
   ok. 9 px nad etykietą i 5 px między etykietą a polem przy 16 px. U nas autop jest wyłączony
   (inc/custom.php, sekcja 5), a kolumna flex z gap-2 dawała pola 4 px wyżej na każdym rzędzie
   i zgodę o 12 px wyżej. Blok zamiast flex odtwarza ten sam wiersz: etykieta w linii nad polem,
   wrapper pola jako blok (komunikat walidacji wyżej dalej liczy top: 100% od dołu pola). */
body.pbwPage [data-cf7-form="pbw-kontakt"] div:has(> label + .wpcf7-form-control-wrap) {
  display: block;
}
body.pbwPage [data-cf7-form="pbw-kontakt"] div:has(> label + .wpcf7-form-control-wrap) > .wpcf7-form-control-wrap {
  display: block;
}


/* === 20. OPINIE (blok pbw-reviews, moduł pbw-opinie.js) ===
   1:1 z dawnej sekcji opinii PBW (WPCode 156, styl inline pod #pbw-opinie). Klasy przemianowane
   na hooki pbwOp* (camelCase, bez kolizji z utility pbw-*), zmienne --pbw-* zostają, bo czyta je
   też pbw-opinie.js (kolory gwiazdek w SVG). W warstwie components: elementy sekcji nie niosą
   klas Tailwinda, więc nic z nimi nie konkuruje, a preflight (base) przegrywa jak na PBW. */
@layer components {
  .pbwOpinie {
      --pbw-tekst: #1b2a44;
      --pbw-tekst-2: #5b6675;
      --pbw-linia: #e6e9ef;
      --pbw-tlo: #ffffff;
      --pbw-tlo-2: #f5f7fa;
      --pbw-gwiazda: #f5a623;
      --pbw-gwiazda-pusta: #dfe3ea;
      --pbw-zielony: #1aa260;
      --pbw-akcent: #1b2a44;
      --pbw-niebieski: #2f6df6;
      --pbw-promien: 14px;
      --pbw-cien:
          0 1px 2px rgba(20, 30, 55, 0.04),
          0 6px 24px rgba(20, 30, 55, 0.06);
  }
  .pbwOpinie,
  .pbwOpinie * {
      box-sizing: border-box;
  }
  .pbwOpRoot {
      font-family: inherit;
      color: var(--pbw-tekst);
      max-width: 1180px;
      margin: 0 auto;
      padding: 8px 16px 24px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
  }
  /* Id jak na PBW: ta reguła ma bić marginesy z reguł klas (.pbwOpCtaBox h3 itd.). */
  #pbw-opinie h2,
  #pbw-opinie h3,
  #pbw-opinie h4 {
      margin: 0;
      font-weight: 700;
      letter-spacing: -0.01em;
  }
  .pbwOpTytul {
      font-size: clamp(22px, 3vw, 30px);
      padding-bottom: 14px;
      border-bottom: 2px solid var(--pbw-linia);
      margin-bottom: 26px;
  }
  .pbwOpPodsumowanie {
      display: grid;
      grid-template-columns: minmax(150px, 200px) 1fr minmax(240px, 330px);
      gap: 28px;
      align-items: center;
      margin-bottom: 34px;
      padding-top: 16px;
  }
  .pbwOpSrednia {
      text-align: center;
  }
  .pbwOpSrednia .pbwOpLiczba {
      font-size: clamp(46px, 7vw, 62px);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.02em;
  }
  .pbwOpSrednia .pbwOpLiczba span {
      font-size: 0.36em;
      font-weight: 600;
      color: var(--pbw-tekst-2);
  }
  .pbwOpSrednia .pbwOpGwiazdki {
      margin: 10px 0 6px;
  }
  .pbwOpSrednia .pbwOpIle {
      font-size: 13px;
      color: var(--pbw-tekst-2);
  }
  .pbwOpRozklad {
      display: flex;
      flex-direction: column;
      gap: 9px;
  }
  .pbwOpRzad {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      cursor: pointer;
  }
  .pbwOpRzad .pbwOpEtykieta {
      display: flex;
      align-items: center;
      gap: 5px;
      width: 34px;
      color: var(--pbw-tekst-2);
  }
  .pbwOpRzad .pbwOpEtykieta svg {
      width: 13px;
      height: 13px;
  }
  .pbwOpPasek {
      flex: 1;
      height: 7px;
      background: var(--pbw-tlo-2);
      border-radius: 99px;
      overflow: hidden;
  }
  .pbwOpPasekFill {
      height: 100%;
      background: var(--pbw-gwiazda);
      border-radius: 99px;
      transition: width 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .pbwOpRzad .pbwOpSuma {
      width: 24px;
      text-align: right;
      color: var(--pbw-tekst-2);
      font-variant-numeric: tabular-nums;
  }
  .pbwOpCtaBox {
      border: 1px solid var(--pbw-linia);
      border-radius: var(--pbw-promien);
      padding: 22px;
      text-align: center;
      background: var(--pbw-tlo);
      box-shadow: var(--pbw-cien);
  }
  .pbwOpCtaBox h3 {
      font-size: 18px;
      margin-bottom: 6px;
  }
  .pbwOpCtaBox p {
      font-size: 13px;
      color: var(--pbw-tekst-2);
      margin: 0 0 16px;
  }
  .pbwOpBtn {
      font: inherit;
      font-weight: 600;
      cursor: pointer;
      border: none;
      border-radius: 10px;
      padding: 11px 20px;
      transition:
          transform 0.08s ease,
          background 0.15s ease,
          box-shadow 0.15s ease;
  }
  .pbwOpBtn:active {
      transform: translateY(1px);
  }
  .pbwOpBtnPrimary {
      background: var(--pbw-akcent);
      color: #fff;
  }
  .pbwOpBtnPrimary:hover {
      box-shadow: 0 6px 18px rgba(27, 42, 68, 0.22);
  }
  .pbwOpBtnPrimary[disabled] {
      opacity: 0.55;
      cursor: default;
      box-shadow: none;
  }
  .pbwOpBtnGhost {
      background: #fff;
      color: var(--pbw-tekst);
      border: 1px solid var(--pbw-linia);
  }
  .pbwOpBtnGhost:hover {
      background: var(--pbw-tlo-2);
  }
  .pbwOpCtaBox .pbwOpBtn {
      width: 100%;
  }
  .pbwOpNaglowekListy {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 16px;
  }
  .pbwOpNaglowekListy h3 {
      font-size: 20px;
  }
  .pbwOpNaglowekListy span {
      color: var(--pbw-tekst-2);
      font-weight: 500;
  }
  .pbwOpNarzedzia {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 22px;
      align-items: flex-end;
      padding-bottom: 18px;
      margin-bottom: 6px;
      border-bottom: 1px solid var(--pbw-linia);
  }
  .pbwOpPole {
      display: flex;
      flex-direction: column;
      gap: 5px;
  }
  .pbwOpPole > label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--pbw-tekst-2);
  }
  .pbwOpSelect {
      font: inherit;
      font-size: 14px;
      color: var(--pbw-tekst);
      background: #fff;
      border: 1px solid var(--pbw-linia);
      border-radius: 10px;
      padding: 9px 34px 9px 13px;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6675' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 13px center;
      min-width: 200px;
  }
  .pbwOpSelect:focus-visible,
  .pbwOpBtn:focus-visible {
      outline: 2px solid var(--pbw-akcent);
      outline-offset: 2px;
  }
  .pbwOpCheck {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: 14px;
      cursor: pointer;
      user-select: none;
      padding-bottom: 9px;
  }
  .pbwOpCheck input {
      width: 18px;
      height: 18px;
      accent-color: var(--pbw-akcent);
      cursor: pointer;
  }
  .pbwOpNarzedzia .pbwOpPrawo {
      margin-left: auto;
  }
  .pbwOpOpinia {
      padding: 26px 0;
      border-bottom: 1px solid var(--pbw-linia);
  }
  .pbwOpOpinia:last-child {
      border-bottom: none;
  }
  .pbwOpGora {
      display: flex;
      gap: 14px;
      align-items: flex-start;
  }
  .pbwOpAwatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      flex: none;
      background: var(--pbw-tlo-2);
      display: grid;
      place-items: center;
      font-weight: 700;
      color: var(--pbw-tekst-2);
      font-size: 16px;
  }
  .pbwOpMeta {
      flex: 1;
      min-width: 0;
  }
  .pbwOpImie {
      font-weight: 700;
      font-size: 15px;
  }
  .pbwOpPotw {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 13px;
      color: var(--pbw-zielony);
      margin-top: 1px;
  }
  .pbwOpPotw svg {
      width: 15px;
      height: 15px;
  }
  .pbwOpOcenaRzad {
      display: flex;
      align-items: center;
      gap: 11px;
      margin-top: 7px;
  }
  .pbwOpData {
      font-size: 13px;
      color: var(--pbw-tekst-2);
  }
  .pbwOpTresc {
      margin: 12px 0 0;
      font-size: 15px;
      color: #2c3a52;
  }
  .pbwOpPomocne {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 16px;
  }
  .pbwOpGlos {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font: inherit;
      font-size: 13px;
      color: var(--pbw-tekst-2);
      background: var(--pbw-tlo-2);
      border: 1px solid transparent;
      border-radius: 99px;
      padding: 6px 13px;
      cursor: pointer;
      transition:
          background 0.15s ease,
          color 0.15s ease,
          border-color 0.15s ease;
  }
  .pbwOpGlos svg {
      width: 15px;
      height: 15px;
  }
  .pbwOpGlos:hover {
      background: #eef1f6;
  }
  .pbwOpGlos.pbwOpAktywny {
      color: var(--pbw-akcent);
      border-color: var(--pbw-linia);
      background: #fff;
      font-weight: 600;
  }

  .pbwOpPusto {
      padding: 46px 0;
      text-align: center;
      color: var(--pbw-tekst-2);
  }
  .pbwOpLadujWiecej {
      display: flex;
      justify-content: center;
      margin-top: 24px;
  }
  .pbwOpGwiazdki {
      display: inline-flex;
      gap: 2px;
  }
  .pbwOpGwiazdki svg {
      width: 17px;
      height: 17px;
  }
  .pbwOpSrednia .pbwOpGwiazdki svg {
      width: 22px;
      height: 22px;
  }
  .pbwOpModalTlo {
      position: fixed;
      inset: 0;
      background: rgba(15, 22, 38, 0.55);
      backdrop-filter: blur(2px);
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 24px 16px;
      z-index: 99999;
      overflow: auto;
  }
  .pbwOpModalTlo.pbwOpOpen {
      display: flex;
  }
  .pbwOpModal {
      background: #fff;
      width: 100%;
      max-width: 560px;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(10, 18, 40, 0.35);
      margin: auto;
      animation: pbwOpIn 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
  }
  @keyframes pbwOpIn {
      from {
          opacity: 0;
          transform: translateY(12px) scale(0.98);
      }
      to {
          opacity: 1;
          transform: none;
      }
  }
  .pbwOpMHead {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      border-bottom: 1px solid var(--pbw-linia);
  }
  .pbwOpMHead h3 {
      font-size: 20px;
  }
  .pbwOpX {
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 8px;
      color: var(--pbw-tekst-2);
      line-height: 0;
  }
  .pbwOpX:hover {
      background: var(--pbw-tlo-2);
  }
  .pbwOpMProdukt {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 24px;
  }
  .pbwOpMProdukt img {
      width: 64px;
      height: 64px;
      object-fit: contain;
      border-radius: 10px;
      border: 1px solid var(--pbw-linia);
      background: #fff;
      flex: none;
  }
  /* Nazwa produktu, etykieta oceny i wskazówka to <p>: margines zerowany, bo prose (1d) daje akapitom 1.25em. */
  .pbwOpMProdukt .pbwOpPnazwa {
      font-size: 16px;
      font-weight: 600;
      margin: 0;
  }
  .pbwOpMOcena {
      background: var(--pbw-tlo-2);
      text-align: center;
      padding: 20px 24px 22px;
  }
  .pbwOpMOcena .pbwOpEtykietaOcena {
      font-size: 16px;
      margin: 0 0 12px;
  }
  .pbwOpWyborGwiazd {
      display: inline-flex;
      gap: 10px;
  }
  .pbwOpWyborGwiazd button {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      line-height: 0;
  }
  .pbwOpWyborGwiazd svg {
      width: 38px;
      height: 38px;
      transition: transform 0.1s ease;
  }
  .pbwOpWyborGwiazd button:hover svg {
      transform: scale(1.08);
  }
  .pbwOpMBody {
      padding: 22px 24px 4px;
  }
  .pbwOpMBody h4 {
      font-size: 18px;
      margin-bottom: 4px;
  }
  .pbwOpMBody .pbwOpPodtytul {
      font-size: 13px;
      color: var(--pbw-tekst-2);
      margin: 0 0 18px;
  }
  .pbwOpFormPole {
      margin-bottom: 16px;
  }
  .pbwOpFormPole > label {
      display: block;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 7px;
  }
  .pbwOpFormPole > label .pbwOpOpc {
      font-weight: 400;
      color: var(--pbw-tekst-2);
  }
  .pbwOpInput,
  .pbwOpTextarea {
      width: 100%;
      font: inherit;
      font-size: 14px;
      color: var(--pbw-tekst);
      border: 1px solid var(--pbw-linia);
      border-radius: 10px;
      padding: 12px 13px;
      background: #fff;
  }
  .pbwOpInput:focus,
  .pbwOpTextarea:focus {
      outline: 2px solid var(--pbw-akcent);
      outline-offset: 0;
      border-color: transparent;
  }
  .pbwOpTextarea {
      resize: vertical;
      min-height: 120px;
  }
  .pbwOpProgress {
      height: 5px;
      background: var(--pbw-tlo-2);
      border-radius: 99px;
      overflow: hidden;
      margin: 8px 0 6px;
  }
  .pbwOpProgress span {
      display: block;
      height: 100%;
      width: 2%;
      background: var(--pbw-niebieski);
      border-radius: 99px;
      transition: width 0.2s ease;
  }
  .pbwOpPodpis {
      font-size: 13px;
      color: var(--pbw-tekst-2);
      margin: 0;
  }
  .pbwOpRegulamin {
      font-size: 13px;
      color: var(--pbw-tekst-2);
      margin: 6px 0 0;
  }
  .pbwOpRegulamin a {
      color: var(--pbw-akcent);
  }
  .pbwOpBlad {
      color: #c0392b;
      font-size: 13px;
      margin: 10px 0 0;
      display: none;
  }
  .pbwOpMStopka {
      display: flex;
      justify-content: flex-end;
      padding: 18px 24px 22px;
      border-top: 1px solid var(--pbw-linia);
      margin-top: 14px;
  }
  .pbwOpSukces {
      text-align: center;
      padding: 42px 26px 46px;
  }
  .pbwOpSukces .pbwOpPtaszek {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: #e8f7ef;
      color: var(--pbw-zielony);
      display: grid;
      place-items: center;
      margin: 0 auto 18px;
  }
  .pbwOpSukces .pbwOpPtaszek svg {
      width: 32px;
      height: 32px;
  }
  .pbwOpSukces h3 {
      font-size: 21px;
      margin-bottom: 10px;
  }
  .pbwOpSukces p {
      font-size: 14px;
      color: var(--pbw-tekst-2);
      max-width: 380px;
      margin: 0 auto 22px;
  }
  @media (max-width: 860px) {
      .pbwOpPodsumowanie {
          grid-template-columns: 1fr 1fr;
          gap: 22px;
      }
      .pbwOpCtaBox {
          grid-column: 1/-1;
          order: 3;
      }
      .pbwOpNarzedzia .pbwOpPrawo {
          margin-left: 0;
          width: 100%;
      }
      .pbwOpSelect {
          width: 100%;
      }
  }
  @media (max-width: 520px) {
      .pbwOpPodsumowanie {
          grid-template-columns: 1fr;
          text-align: center;
      }
      .pbwOpSrednia {
          display: flex;
          flex-direction: column;
          align-items: center;
      }
      .pbwOpRozklad {
          max-width: 340px;
          margin: 0 auto;
          width: 100%;
      }
      .pbwOpWyborGwiazd svg {
          width: 34px;
          height: 34px;
      }
  }
  @media (prefers-reduced-motion: reduce) {
      .pbwOpinie * {
          animation: none !important;
          transition: none !important;
      }
  }

  /* Rząd rozkładu ocen to teraz <button> (filtr z klawiatury); reset wyglądu przycisku. */
  .pbwOpRzad {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    color: inherit;
    text-align: left;
  }
  .pbwOpRegulaminPole {
    margin-top: 7px;
  }
  .pbwOpBlad a {
    color: inherit;
    text-decoration: underline;
  }
  /* Ukrywanie przez klasę, nie atrybut hidden: [hidden] w preflighcie ma !important w warstwie
     i edytor (editor.css, sekcja 7) nie mógłby pokazać tych elementów do edycji. */
  .pbwOpinie .pbwOpUkryty {
    display: none;
  }
  /* Widget Turnstile (pbw-opinie.js zdejmuje hidden, gdy jest klucz witryny) w trybie
     interaction-only: zwykle 0 px, pokazuje się tylko, gdy Cloudflare chce interakcji, dlatego
     bez rezerwacji wysokości i marginesu. line-height 0: iframe jest inline, bez tego 71 px. */
  .pbwOpTurnstile {
    line-height: 0;
  }
}
