/* Okno „Zobacz szczegóły” w stylu premium; kolory bierze ze strony, na której jest otwarte (29.11.2026).
   Cofnięcie: usuń blok „okno-premium” z functions.php. */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal{
  --p1:var(--a); --p2:var(--noc); --pt:#f4ecdb; --linia:#e5d7b8; --zl:var(--zloto,#c6a15b); --kr:var(--krem,#fbf7ee); --r:3px;
  width:min(94vw,880px); max-width:880px; border:0; border-radius:6px; background:var(--kr); color:var(--tusz);
  box-shadow:0 0 0 1px var(--zl), 0 50px 120px -30px rgba(3,6,14,.72); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal::backdrop{ background:rgba(6,10,18,.72); backdrop-filter:blur(5px); }
html body.ps-ruch.ps-ruch.nisza-zlobki .pkg-modal.pkg-modal{ --r:999px; border-radius:24px; }

/* góra: nazwa i cena */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-head{ grid-template-columns:minmax(0,1fr) auto; gap:18px; padding:24px clamp(20px,3.8vw,42px) 20px;
  background:linear-gradient(150deg,var(--a),var(--noc)) !important; border:0; border-bottom:1px solid var(--zl); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-ikona{ display:none !important; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-eyebrow{ display:flex; align-items:center; gap:12px; margin:0; color:var(--zl) !important;
  font:600 .68rem/1.4 'IBM Plex Sans',sans-serif !important; letter-spacing:.28em !important; text-transform:uppercase; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-eyebrow::before{ content:''; width:34px; height:1px; background:var(--zl); flex:none; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-head h3{ margin:8px 0 0 !important; font:500 clamp(2rem,4.2vw,3rem)/1.04 'Cormorant Garamond',Georgia,serif !important;
  text-transform:none !important; letter-spacing:0 !important; color:#fff !important; overflow-wrap:anywhere; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-price{ display:block; margin:6px 0 0; padding:0; border:0; border-radius:0; background:none !important;
  color:var(--jasny,#e6cf99) !important; font:600 1.28rem/1.3 'Cormorant Garamond',Georgia,serif !important; font-variant-numeric:lining-nums; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-close{ width:44px; height:44px; border-radius:50%; background:transparent; border:1px solid var(--zl); color:var(--zl); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-close:hover{ background:var(--zl); color:var(--noc); transform:none; }

/* przełączanie między usługami / pakietami */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-przelacz{ gap:10px; padding:0 clamp(20px,3.8vw,42px); background:#fff; border-bottom:1px solid var(--linia); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-przelacz:empty{ display:none; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-uslugi button{ min-height:42px; padding:8px 0; border:0; border-radius:0; background:none; color:var(--tekst2);
  font:500 .78rem/1.3 'IBM Plex Sans',sans-serif; letter-spacing:.04em; text-align:left; transform:none; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-uslugi button+button{ text-align:right; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-uslugi button:hover{ color:var(--a); text-decoration:underline; text-decoration-color:var(--zl); text-underline-offset:5px; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety{ padding-block:10px; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety button{ border:1px solid var(--linia); border-radius:min(var(--r),18px); background:var(--kr); color:var(--tusz); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety button strong{ font:600 1.15rem/1.2 'Cormorant Garamond',Georgia,serif; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety button:hover{ border-color:var(--zl); transform:none; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety button[aria-pressed=true]{ background:var(--a); border-color:var(--zl); color:#fff; }

/* zakładki */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-karty{ gap:26px; padding:0 clamp(20px,3.8vw,42px); background:#fff; border-bottom:1px solid var(--linia); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-karty button{ padding:14px 0 12px; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; box-shadow:none;
  color:var(--tekst2); font:600 .72rem/1.4 'IBM Plex Sans',sans-serif; letter-spacing:.14em; text-transform:uppercase; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-karty button[aria-selected=true]{ color:var(--tusz); border-bottom-color:var(--zl); }

/* treść */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-body{ padding:22px clamp(20px,3.8vw,42px); background:var(--kr); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-recap{ background:#fff; border:0; border-left:3px solid var(--zl); border-radius:0; color:var(--tusz); box-shadow:0 12px 26px -22px rgba(20,16,40,.6); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-section h4{ display:flex; align-items:center; gap:14px; margin:4px 0 14px;
  font:600 clamp(1.5rem,2.6vw,1.85rem)/1.15 'Cormorant Garamond',Georgia,serif !important; text-transform:none !important; letter-spacing:0 !important; color:var(--tusz) !important; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-section h4::after{ content:''; flex:1; height:1px; background:var(--linia); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-panel li{ background:#fff; border:1px solid var(--linia); border-radius:min(var(--r),18px); color:var(--tusz); transition:border-color .2s, background .2s; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-panel li:hover{ border-color:var(--zl); transform:none; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-panel li svg{ background:transparent; border:1px solid var(--zl); color:var(--a); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-panel li[aria-checked=true]{ background:var(--a); border-color:var(--zl); color:#fff; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-panel li[aria-checked=true] svg{ background:var(--zl); border-color:var(--zl); color:var(--noc); transform:none; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-panel li:focus-visible{ outline:2px solid var(--zl); outline-offset:2px; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-os li::before{ background:var(--kr); border:1px solid var(--zl); color:var(--a); font-family:'Cormorant Garamond',Georgia,serif; font-weight:700; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-os li:not(:last-child)::after{ background:var(--linia); width:1px; }

/* strzałki */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-nawig{ background:#fff; border-top:1px solid var(--linia); font:600 .95rem 'Cormorant Garamond',Georgia,serif; color:var(--tekst2); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-nawig button{ min-height:40px; padding:9px 18px; border:1px solid var(--linia); border-radius:var(--r); background:#fff; color:var(--a); font:600 .8rem 'IBM Plex Sans',sans-serif; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-nawig button+span+button{ background:var(--a); border-color:var(--zl); color:#fff; }

/* dół: przyciski */
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot{ background:var(--kr); border-top:1px solid var(--linia); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal :is(.po-tel,.po-opis){ min-height:46px; border:1px solid var(--a); border-radius:var(--r); background:transparent; color:var(--a) !important;
  font:600 .7rem/1.3 'IBM Plex Sans',sans-serif; letter-spacing:.14em; text-transform:uppercase; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal :is(.po-tel,.po-opis):hover{ background:#fff; border-color:var(--zl); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot .btn{ min-height:46px; border:1px solid var(--zl); border-radius:var(--r); background:var(--a) !important; color:#fff !important;
  font:600 .72rem/1.3 'IBM Plex Sans',sans-serif; letter-spacing:.16em; text-transform:uppercase; box-shadow:0 14px 26px -18px rgba(10,14,30,.8); }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot .btn:hover{ background:var(--noc) !important; }
html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot .zam-link{ color:var(--tekst2); }

@media (max-width:640px){
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal{ width:100vw; max-width:100vw; border-radius:14px 14px 0 0; }
  html body.ps-ruch.ps-ruch.nisza-zlobki .pkg-modal.pkg-modal{ border-radius:26px 26px 0 0; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-head{ padding:14px 16px 12px; gap:12px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-head h3{ font-size:1.65rem !important; margin-top:4px !important; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-price{ font-size:1.05rem !important; margin-top:2px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-close{ width:40px; height:40px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-przelacz{ padding:0 14px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety{ padding:8px 12px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-pakiety button strong{ font-size:1rem; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-karty{ gap:18px; padding:0 14px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-karty button{ padding:11px 0 9px; font-size:.66rem; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-body{ padding:14px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-nawig{ padding:6px 14px; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal :is(.po-tel,.po-opis){ min-height:42px; font-size:.64rem; letter-spacing:.1em; }
}
@media (max-width:640px){
  /* gdy jest „Pełny opis”: dwa przyciski obok siebie, główny i „Zamawiam bez spotkania” pod nimi */
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot:has(.po-opis:not([hidden])){ display:grid; grid-template-columns:1fr 1fr; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot:has(.po-opis:not([hidden])) > .btn{ grid-column:1/-1; order:2; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot:has(.po-opis:not([hidden])) > .po-licznik{ grid-column:1/-1; }
  html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .pkg-modal-foot:has(.po-opis:not([hidden])) > .zam-link{ grid-column:1/-1; order:3; justify-content:center; margin:0 auto; min-height:34px; white-space:nowrap; }
}
@media (max-height:620px){ html body.ps-ruch.ps-ruch .pkg-modal.pkg-modal .po-przelacz{ display:none; } }
