/* Szimustudio cookie consent — shared by all public pages */
.sz-cookie-banner,
.sz-cookie-settings,
.sz-site-footer,
.footer-privacy-links { font-family: "Open Sauce Sans", "Avenir Next", Inter, Arial, sans-serif; }

.sz-cookie-banner {
  position: fixed;
  z-index: 10000;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  color: #f2f2f2;
  background: rgba(31,31,31,.86);
  border: 1px solid rgba(255,255,255,.18);
  border-top-color: rgba(255,255,255,.28);
  border-radius: 22px;
  box-shadow: 0 22px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.sz-cookie-banner[hidden], .sz-cookie-settings[hidden] { display: none !important; }
.sz-cookie-banner__copy { min-width: 0; }
.sz-cookie-eyebrow {
  margin: 0 0 8px;
  color: #c8c8c8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sz-cookie-banner h2,
.sz-cookie-settings h2 {
  margin: 0 0 10px;
  color: #f7f4f4;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.sz-cookie-banner p:not(.sz-cookie-eyebrow) {
  max-width: 650px;
  margin: 0 0 12px;
  color: rgba(242,242,242,.72);
  font-size: 13px;
  line-height: 1.6;
}
.sz-cookie-banner a,
.sz-cookie-settings a {
  color: #eeeeee;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.sz-cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.sz-cookie-actions button,
.sz-cookie-settings button {
  min-height: 42px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f2f2f2;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.sz-cookie-actions button:hover,
.sz-cookie-settings button:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.4); }
.sz-cookie-actions .sz-cookie-primary,
.sz-cookie-settings .sz-cookie-primary {
  background: rgba(245,245,245,.94);
  border-color: rgba(255,255,255,.72);
  color: #171717;
}
.sz-cookie-actions .sz-cookie-primary:hover,
.sz-cookie-settings .sz-cookie-primary:hover { background: #fff; border-color: #fff; color: #171717; }
.sz-cookie-actions button:focus-visible,
.sz-cookie-settings button:focus-visible,
.sz-cookie-banner a:focus-visible,
.sz-cookie-settings a:focus-visible,
.footer-privacy-links a:focus-visible,
.footer-privacy-links button:focus-visible,
.sz-site-footer a:focus-visible,
.sz-site-footer button:focus-visible { outline: 2px solid #e2e2e2; outline-offset: 3px; }

.sz-cookie-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sz-cookie-overlay[hidden] { display: none !important; }
.sz-cookie-settings {
  width: min(100%, 560px);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 28px;
  color: #f2f2f2;
  background: rgba(31,31,31,.82);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  box-shadow: 0 24px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}
.sz-cookie-settings__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sz-cookie-settings__close { flex: 0 0 auto; width: 38px; min-height: 38px !important; padding: 0 !important; font-size: 22px !important; }
.sz-cookie-settings__intro { margin: 0 0 20px; color: rgba(242,242,242,.7); font-size: 13px; line-height: 1.6; }
.sz-cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sz-cookie-category__text { min-width: 0; }
.sz-cookie-category strong { display: block; margin-bottom: 5px; font-size: 14px; }
.sz-cookie-category p { margin: 0; color: rgba(242,242,242,.62); font-size: 12px; line-height: 1.55; }
.sz-cookie-category__status { flex: 0 0 auto; color: #d4d4d4; font-size: 11px; font-weight: 700; }
.sz-cookie-switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
.sz-cookie-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sz-cookie-switch span { position: absolute; inset: 0; border-radius: 999px; background: #444; transition: background .2s ease; cursor: pointer; }
.sz-cookie-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.sz-cookie-switch input:checked + span { background: #a9a9a9; }
.sz-cookie-switch input:checked + span::after { transform: translateX(18px); }
.sz-cookie-switch input:focus-visible + span { outline: 2px solid #e2e2e2; outline-offset: 3px; }
.sz-cookie-settings__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 20px; }
.sz-cookie-settings__actions button { min-width: 112px; }

.footer-privacy-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-privacy-links a,
.footer-privacy-links button,
.sz-site-footer a,
.sz-site-footer button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer-privacy-links a:hover,
.footer-privacy-links button:hover,
.sz-site-footer a:hover,
.sz-site-footer button:hover { color: #eeeeee; }
.sz-site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 30px;
  color: #888;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
}
.sz-site-footer__brand { color: inherit; font: inherit; letter-spacing: inherit; }
.sz-site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

@media (max-width: 760px) {
  .sz-cookie-banner { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 16px; padding: 19px; border-radius: 19px; max-height: calc(100dvh - 20px); overflow: auto; }
  .sz-cookie-banner h2 { font-size: 23px; }
  .sz-cookie-banner p:not(.sz-cookie-eyebrow) { font-size: 12px; }
  .sz-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .sz-cookie-actions button { width: 100%; }
  .sz-cookie-actions .sz-cookie-primary { grid-column: 1 / -1; grid-row: 1; }
  .sz-cookie-settings { padding: 22px; border-radius: 20px; }
  .sz-cookie-settings__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .sz-cookie-settings__actions .sz-cookie-primary { grid-column: 1 / -1; }
  .sz-site-footer { align-items: flex-start; flex-direction: column; padding: 22px 18px; }
  .footer-privacy-links { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-cookie-actions button, .sz-cookie-settings button, .sz-cookie-switch span, .sz-cookie-switch span::after { transition: none; }
}

/* Stopki: marka po lewej, opis idealnie na środku, linki po prawej */
.footer,
.sz-site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.footer > .footer-brand,
.sz-site-footer > .sz-site-footer__brand {
  justify-self: start;
}
.footer > .footer-brand {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
.footer > span:nth-child(2),
.sz-site-footer > span {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}
.footer > .footer-privacy-links,
.sz-site-footer > nav {
  justify-self: end;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .footer,
  .sz-site-footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 12px;
    padding: 22px 18px;
  }
  .footer > .footer-brand,
  .footer > span:nth-child(2),
  .footer > .footer-privacy-links,
  .sz-site-footer > .sz-site-footer__brand,
  .sz-site-footer > span,
  .sz-site-footer > nav {
    justify-self: start;
    text-align: left;
    white-space: normal;
  }
  .footer > .footer-privacy-links,
  .sz-site-footer > nav {
    justify-content: flex-start;
  }
}

