/* naglowek-wspolny.css — pakiet 8 (etap 4, B9, 11.2026). Wygenerowany z spinacz.css (v=33, pakiet 8 etap 6) przez pakiet8/narzedzia/css_wspolny.py.
   Strony z własnym <head> (kalendarze, nabory, blog, gwiazdy, „Na festyn”, miejscowości) dostają ten sam nagłówek, menu, stopkę
   i dolny pasek co reszta serwisu, a ich treść zostaje przy własnych stylach: wszystkie reguły dotyczą tylko elementów ramki.
   Po zmianie wyglądu nagłówka w spinacz.css: uruchomić skrypt jeszcze raz i podbić ?v= w naglowek-wspolny.php. */
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek){font-family:var(--font);font-size:14px;line-height:1.5;color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
:where(#scroll-top){font-family:var(--font);font-size:14px;color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top),:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) *,:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) *::before,:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) *::after{margin:0;padding:0;box-sizing:border-box}
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) a{color:inherit;text-decoration:none}
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) img{display:block;max-width:100%}
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) :is(button,input,select,textarea){font-family:inherit;font-size:inherit;color:inherit}
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) button,#scroll-top{cursor:pointer;border:none;background:none}
:where(.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top) :focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}
.hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top{--brand:#1F5AAE; --brand-d:#164784; --brand-l:#EAF1FB; --brand-xl:#F5F9FF; --accent:#FF5A1F; --accent-d:#E8460D; --accent-l:#FFF1EB; --ok:#067647; --ok-l:#E7F6EE; --danger:#C4320A; --danger-l:#FEF0E9; --warn:#B54708; --warn-l:#FFFAEB; --ink:#101828; --ink-2:#475467; --ink-3:#667085; --ink-4:#98A2B3; --line:#E4E7EC; --line-2:#F2F4F7; --bg:#F2F4F7; --card:#FFFFFF; --sh-1:0 1px 2px rgba(16,24,40,.05); --sh-2:0 2px 8px rgba(16,24,40,.07); --sh-3:0 8px 24px rgba(16,24,40,.10); --sh-4:0 16px 40px rgba(16,24,40,.14); --r:10px; --r-l:14px; --r-xl:20px; --r-full:999px; --wrap:1440px; --pad:20px; --hd-h:60px; --cat-h:46px; --ease:cubic-bezier(.22,1,.36,1); --font:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .wrap,:where(body>footer) .wrap,:where(#scroll-top) .wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--pad);width:100%}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .ico,:where(body>footer) .ico,:where(#scroll-top) .ico{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .ico-s,:where(body>footer) .ico-s,:where(#scroll-top) .ico-s{width:16px;height:16px}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .ico-l,:where(body>footer) .ico-l,:where(#scroll-top) .ico-l{width:24px;height:24px}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn,:where(body>footer) .btn,:where(#scroll-top) .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px; height:40px;padding:0 18px;border-radius:var(--r); font-size:14px;font-weight:700;white-space:nowrap; transition:background .18s,color .18s,transform .18s,box-shadow .18s;}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn:active,:where(body>footer) .btn:active,:where(#scroll-top) .btn:active{transform:translateY(1px)}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-primary,:where(body>footer) .btn-primary,:where(#scroll-top) .btn-primary{background:var(--brand);color:#fff}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-primary:hover,:where(body>footer) .btn-primary:hover,:where(#scroll-top) .btn-primary:hover{background:var(--brand-d);box-shadow:var(--sh-2)}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-buy,:where(body>footer) .btn-buy,:where(#scroll-top) .btn-buy{background:var(--accent);color:#fff}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-buy:hover,:where(body>footer) .btn-buy:hover,:where(#scroll-top) .btn-buy:hover{background:var(--accent-d);box-shadow:0 4px 14px rgba(255,90,31,.35)}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-sm,:where(body>footer) .btn-sm,:where(#scroll-top) .btn-sm{height:34px;padding:0 14px;font-size:13px}
.hd{position:sticky;top:0;z-index:300;background:#fff;box-shadow:var(--sh-1)}
.hd-top{height:var(--hd-h);display:flex;align-items:center;gap:16px}
:where(.hd) .logo{font-size:23px;font-weight:800;color:var(--brand);letter-spacing:-.6px;flex-shrink:0}
:where(.hd) .logo span{color:var(--accent)}
:where(.hd) .search{flex:1;max-width:760px;display:flex;height:42px;border:2px solid var(--brand);border-radius:var(--r);overflow:hidden;background:#fff}
:where(.hd) .search:focus-within{box-shadow:0 0 0 3px var(--brand-l)}
:where(.hd) .search-type{display:flex;align-items:center;gap:6px;padding:0 12px;background:var(--brand-l);color:var(--brand);font-size:13px;font-weight:700;border-right:1px solid rgba(31,90,174,.2);cursor:pointer;position:relative}
:where(.hd) .search-type select{appearance:none;background:none;border:none;font-weight:700;font-size:13px;color:var(--brand);cursor:pointer;padding-right:16px}
:where(.hd) .search input{flex:1;border:none;outline:none;padding:0 14px;font-size:14px;min-width:0}
:where(.hd) .search input::placeholder{color:var(--ink-4)}
:where(.hd) .search-btn{width:56px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .18s}
:where(.hd) .search-btn:hover{background:var(--brand-d)}
.hd-actions{display:flex;align-items:center;gap:2px;margin-left:auto;flex-shrink:0}
.hd-act{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 10px;border-radius:var(--r);color:var(--ink-2);font-size:11px;font-weight:600;transition:background .18s,color .18s;position:relative}
.hd-act:hover{background:var(--line-2);color:var(--brand)}
.hd-act .ico{width:20px;height:20px}
.hd-badge{position:absolute;top:0;right:2px;min-width:19px;height:19px;padding:0 5px;background:var(--accent);color:#fff;border-radius:var(--r-full);font-size:11.5px;line-height:1;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff}
.hd-cat{height:var(--cat-h);border-top:1px solid var(--line);display:flex;align-items:center;position:relative}
:where(.hd) .cat-scroll{display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}
.hd-cat.has-more .cat-scroll{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent)}
:where(.hd) .cat-next{display:none;position:absolute;right:max(calc((100vw - var(--wrap))/2 + 4px),var(--pad));top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:var(--sh-2);align-items:center;justify-content:center;color:var(--ink-2);z-index:2}
.hd-cat.has-more .cat-next{display:flex}
:where(.hd) .cat-next:hover{background:var(--brand);color:#fff}
:where(.hd) .cat-scroll::-webkit-scrollbar{display:none}
:where(.hd) .cat-link{display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:var(--r);font-size:13.5px;font-weight:600;color:var(--ink-2);white-space:nowrap;transition:background .18s,color .18s}
:where(.hd) .cat-link:hover{background:var(--brand-l);color:var(--brand)}
:where(.hd) .cat-link.on{background:var(--ink);color:#fff}
:where(.hd) .cat-link.on:hover{background:var(--ink)}
:where(.hd) .cat-link .ico{width:17px;height:17px;opacity:.75}
:where(.hd) .cat-sep{width:1px;height:22px;background:var(--line);margin:0 8px;flex-shrink:0}
:where(.hd) .burger{display:none;width:40px;height:40px;border-radius:var(--r);align-items:center;justify-content:center;color:var(--ink)}
:where(.hd) .burger:hover{background:var(--line-2)}
.mmenu{position:fixed;inset:0;top:calc(var(--hd-h) + var(--cat-h));background:#fff;z-index:290;padding:16px var(--pad) 40px;overflow-y:auto;display:none;flex-direction:column;gap:4px}
.mmenu.open{display:flex}
.mmenu a{display:flex;align-items:center;gap:12px;padding:14px;border-radius:var(--r);font-size:15px;font-weight:600;color:var(--ink)}
.mmenu a:hover{background:var(--line-2)}
.mmenu-sep{height:1px;background:var(--line);margin:8px 0}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-primary,:where(body>footer) .btn-primary,:where(#scroll-top) .btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px; height:40px;padding:0 18px;border-radius:var(--r);font-size:14px;font-weight:700;white-space:nowrap; text-decoration:none;transition:background .18s,box-shadow .18s}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-primary,:where(body>footer) .btn-primary,:where(#scroll-top) .btn-primary{background:var(--brand);color:#fff}
:where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-primary:hover,:where(body>footer) .btn-primary:hover,:where(#scroll-top) .btn-primary:hover{background:var(--brand-d);color:#fff;text-decoration:none}
:where(body)>footer{background:#fff;border-top:1px solid var(--line);margin-top:40px;padding:36px 0 0}
:where(body>footer) .foot-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px;padding-bottom:28px}
:where(body>footer) .foot-logo{font-size:22px;font-weight:800;color:var(--brand);letter-spacing:-.6px;margin-bottom:10px}
:where(body>footer) .foot-logo span{color:var(--accent)}
:where(body>footer) .foot-about{font-size:13px;color:var(--ink-3);line-height:1.6;max-width:38ch;margin-bottom:14px}
:where(body>footer) .foot-col h4{font-size:13px;font-weight:800;margin-bottom:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink)}
:where(body>footer) .foot-col a{display:block;font-size:13px;color:var(--ink-3);padding:5px 0}
:where(body>footer) .foot-col a:hover{color:var(--brand)}
:where(body>footer) .foot-bar{border-top:1px solid var(--line);padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--ink-4)}
:where(body>footer) .foot-soc{display:flex;gap:8px}
:where(body>footer) .foot-soc a{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink-3);transition:all .18s}
:where(body>footer) .foot-soc a:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.dolny-pasek{display:none}
@media (max-width:1100px){
  :where(body>footer) .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:768px){
  .hd,.mmenu,.infobar,body>footer,.dolny-pasek,#scroll-top{--pad:14px;--hd-h:104px}
  .hd-top{height:auto;flex-wrap:wrap;padding-top:9px;padding-bottom:9px;gap:9px}
  :where(.hd) .logo{font-size:21px}
  :where(.hd) .search{order:3;flex:0 0 100%;max-width:none;height:40px;border-width:1.5px}
  :where(.hd) .search-type{display:none}
  :where(.hd) .search-btn{width:48px}
  .hd-act span{display:block;font-size:9.5px}
  .hd-act{padding:6px 7px;gap:1px}
  .hd-badge{top:-3px;right:-2px}
  :where(.hd) .burger{display:flex}
  .hd-actions .hd-act:not(.hd-act-keep){display:none}
  :where(body>footer) .foot-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  :where(body>footer) .foot-grid>*{min-width:0}
  body.has-mbar{padding-bottom:70px}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  body.has-mbar{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .dolny-pasek{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:270;background:#fff;border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(20,30,50,.06)}
  .dolny-pasek a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:48px;justify-content:center;position:relative;color:var(--ink-3);font-size:10.5px;font-weight:600;text-decoration:none;border-radius:10px}
  .dolny-pasek a .ico{width:22px;height:22px}
  .dolny-pasek a.on{color:var(--brand)}
  .dolny-pasek a.on::before{content:"";position:absolute;top:-6px;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:var(--brand)}
  .dolny-pasek .dp-badge{position:absolute;top:2px;left:calc(50% + 4px);min-width:18px;height:18px;padding:0 5px;background:var(--accent);color:#fff;border-radius:999px;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff}
  .dolny-pasek.z-mbar{display:none}
  .hd-actions .hd-act{display:none !important}
  #cookie-banner{bottom:calc(62px + env(safe-area-inset-bottom)) !important}
}
@media (hover:none),(pointer:coarse){
  :where(.hd,.mmenu,.infobar,.dolny-pasek) .btn:hover,:where(body>footer) .btn:hover,:where(#scroll-top) .btn:hover{box-shadow:none}
  :where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-primary:hover,:where(body>footer) .btn-primary:hover,:where(#scroll-top) .btn-primary:hover{background:var(--brand)}
  :where(.hd,.mmenu,.infobar,.dolny-pasek) .btn-buy:hover,:where(body>footer) .btn-buy:hover,:where(#scroll-top) .btn-buy:hover{background:var(--accent)}
  :where(.hd) .cat-link:hover{background:transparent;color:var(--ink-2)}
  :where(.hd) .cat-link.on{background:var(--ink);color:#fff}
  :where(.hd,.mmenu,.infobar,.dolny-pasek) .btn,:where(body>footer) .btn,:where(#scroll-top) .btn,:where(.hd) .cat-link{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  :where(.hd,.mmenu,.infobar,.dolny-pasek) .btn,:where(body>footer) .btn,:where(#scroll-top) .btn{-webkit-user-select:none;user-select:none}
  :where(.hd,.mmenu,.infobar,.dolny-pasek) .btn:active,:where(body>footer) .btn:active,:where(#scroll-top) .btn:active{transform:translateY(1px)}
}
@media print{
  .hd,:where(body)>footer,#scroll-top,.infobar{display:none}
}
.infobar{background:var(--brand-l);border-bottom:1px solid rgba(31,90,174,.18)}
.infobar .wrap{display:flex;align-items:center;justify-content:center;gap:9px;padding:8px var(--pad);font-size:13px;font-weight:600;color:var(--brand-d);text-align:center}
.infobar .ico{flex-shrink:0;color:var(--brand)}
:where(.hd) .search-field{flex:1;position:relative;min-width:0;display:flex}
:where(.hd) .search-field:focus-within{box-shadow:0 0 0 3px var(--brand-l)}
:where(.hd) .search-field input{width:100%;border:none;outline:none;padding:0 14px;font-size:14px;background:transparent;min-width:0}
:where(.hd) .search-field input::placeholder{color:var(--ink-4)}
:where(.hd) .ac-list{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh-3);overflow:hidden;z-index:400;max-height:280px;overflow-y:auto}
:where(.hd) .ac-list.show{display:block}
:where(.hd) .ac-item{padding:10px 14px;font-size:13.5px;cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--ink-2)}
:where(.hd) .ac-item::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--ink-4);flex-shrink:0}
:where(.hd) .ac-item:hover,:where(.hd) .ac-item.active{background:var(--brand-xl);color:var(--brand)}
:where(body>footer) .foot-nl{margin-top:16px;max-width:340px}
:where(body>footer) .foot-nl label{display:block;font-size:12.5px;font-weight:600;color:var(--ink-2);margin-bottom:7px}
:where(body>footer) .foot-nl-row{display:flex;gap:7px}
:where(body>footer) .foot-nl input{flex:1;min-width:0;height:38px;border:1px solid var(--line);border-radius:var(--r);padding:0 12px;font-size:13px;outline:none;transition:border-color .18s,box-shadow .18s}
:where(body>footer) .foot-nl input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-l)}
#scroll-top{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-3);color:var(--ink-2);display:flex;align-items:center;justify-content:center;z-index:270;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s,visibility .25s,background .18s}
#scroll-top.show{opacity:1;visibility:visible;transform:none}
#scroll-top:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
#scroll-top .ico{transform:rotate(180deg)}
@media (max-width:768px){
  #scroll-top{right:12px;bottom:78px;width:40px;height:40px}
}
@media (max-width:768px){
  body.ma-mbar{padding-bottom:74px}
}
:where(.hd) .cat-scroll{min-width:0;max-width:100%}
@media(max-width:640px){
  :where(body>footer) .foot-nl{max-width:100%}
}
@media (max-width:768px){
  :where(.hd) .search-field input,:where(.hd) .search-type select,:where(body>footer) .foot-nl input{font-size:16px}
}
@media (max-width:360px){
  .dolny-pasek a{flex:1 1 auto}
}
