/* Popup "Masz pytanie?" (includes/popup-pytanie.php) */
.cb-pyt { position: fixed; right: 20px; bottom: 20px; z-index: 100000; font-family: Inter, -apple-system, "Segoe UI", sans-serif; }
body.cookies-not-set .cb-pyt { bottom: 96px; }
.cb-pyt * { box-sizing: border-box; }
.cb-pyt-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid #e3e9ef; border-radius: 999px; background: #fff; color: #0d1b2a; font: 600 14px/1 Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(13,27,42,.14); }
.cb-pyt-btn img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.cb-pyt-btn:hover { border-color: #b9c6d3; }
.cb-pyt-panel { position: absolute; right: 0; bottom: 66px; width: 340px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e3e9ef; border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 16px 48px rgba(13,27,42,.18); }
.cb-pyt-x { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: transparent; color: #5d6f82; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; }
.cb-pyt-x:hover { background: #f6f9fc; color: #0d1b2a; }
.cb-pyt-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-right: 28px; }
.cb-pyt-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cb-pyt-head strong { display: block; font-size: 15px; color: #0d1b2a; }
.cb-pyt-head em { display: block; font-style: normal; font-size: 12.5px; color: #5d6f82; margin-top: 2px; }
.cb-pyt-txt { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: #3d4f61; }
.cb-pyt-linki { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cb-pyt-linki a, .cb-pyt-linki .cb-pyt-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #0d1b2a !important; text-decoration: none !important; min-height: 36px; padding: 0 10px; border: 1px solid #e3e9ef; border-radius: 8px; }
.cb-pyt-linki a:hover { background: #f6f9fc; }
.cb-pyt-linki svg { width: 16px; height: 16px; color: #17b3da; flex: 0 0 auto; }
.cb-pyt-form { border-top: 1px solid #eef3f8; padding-top: 12px; }
.cb-pyt-form-h { display: block; font-size: 13px; font-weight: 600; color: #0d1b2a; margin-bottom: 8px; }
.cb-pyt-form label { display: block; margin-bottom: 8px; }
.cb-pyt-form label span { display: block; font-size: 12px; color: #5d6f82; margin-bottom: 3px; }
.cb-pyt-form input:not([type=hidden]) { width: 100%; min-height: 40px; border: 1px solid #e3e9ef; border-radius: 8px; padding: 8px 10px; font: 400 14px Inter, sans-serif; color: #0d1b2a; background: #fff; }
.cb-pyt-form input:focus { outline: 0; border-color: #17b3da; }
.cb-pyt-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.cb-pyt-send { width: 100%; min-height: 44px; border: 0; border-radius: 8px; background: #111; color: #fff; font: 600 14px Inter, sans-serif; cursor: pointer; margin-top: 4px; }
.cb-pyt-send:hover { background: #000; }
.cb-pyt-send:disabled { opacity: .6; cursor: default; }
.cb-pyt-status { margin: 8px 0 0; font-size: 13px; min-height: 1em; color: #5d6f82; }
.cb-pyt-status.is-ok { color: #1e7f3c; }
.cb-pyt-status.is-err { color: #d31819; }
.cb-pyt-rodo { margin: 8px 0 0; font-size: 11.5px; color: #8ea3b8; line-height: 1.4; }
.cb-pyt-rodo a { color: #5d6f82; }
@media (max-width: 600px) {
	.cb-pyt { right: 12px; bottom: 12px; }
	body.cookies-not-set .cb-pyt { bottom: 196px; }
	.cb-pyt-btn span { display: none; }
	.cb-pyt-btn { padding: 4px; }
	.cb-pyt-btn img { width: 48px; height: 48px; }
	.cb-pyt-panel { bottom: 62px; width: calc(100vw - 24px); max-height: calc(100vh - 100px); overflow: auto; }
}

/* przycisk "do gory" motywu nad dymkiem, zeby sie nie nakladaly */
body:has(#cb-pyt) #page-scroll-up, body:has(#cb-pyt) .page-scroll-up { bottom: 86px !important; right: 20px !important; }
body.cookies-not-set:has(#cb-pyt) #page-scroll-up { bottom: 162px !important; }
@media (max-width: 600px) { body:has(#cb-pyt) #page-scroll-up { bottom: 74px !important; right: 12px !important; } body.cookies-not-set:has(#cb-pyt) #page-scroll-up { bottom: 258px !important; } }

/* === 29.09.2026 poprawki mobile: dymek jako sama okragla ikona 52 px w rogu, chowany przy przewijaniu w dol (JS w popup-pytanie.php), nad sticky barem i paskiem cookies === */
@media (max-width: 600px) {
	.cb-pyt { right: 10px; bottom: 10px; transition: transform .25s ease, opacity .25s ease; }
	.cb-pyt-btn { width: 52px; height: 52px; padding: 0; gap: 0; justify-content: center; border-width: 2px; }
	.cb-pyt-btn img { width: 48px; height: 48px; }
	.cb-pyt.cb-pyt--ukryty:not(.is-open) { transform: translateY(24px); opacity: 0; pointer-events: none; }
	body.cb-pyt-scroll #page-scroll-up, body.cb-pyt-scroll .page-scroll-up { opacity: 0 !important; pointer-events: none !important; }
	body:has(#cb-sticky-bar:not([style*="none"])) .cb-pyt { bottom: 118px; }
	body:has(#cb-sticky-bar:not([style*="none"])) #page-scroll-up { bottom: 180px !important; }
	body.cookies-not-set:has(#cb-sticky-bar:not([style*="none"])) .cb-pyt { bottom: 196px; }
	body.cookies-not-set:has(#cb-sticky-bar:not([style*="none"])) #page-scroll-up { bottom: 258px !important; }
}
