/* =========================================================
   SKS HEADER - WSPOLNY CSS dla headerow HOME (21) i SHOP (709)
   Plik: wp-content/plugins/sks-funkcje-strony/moduly/naglowek/sks-header.css (ladowany przez sks-header.php).
   Oba szablony maja te same ID elementow, wiec te reguly dzialaja w obu:
   2b3f2834 = sekcja z wideo, 144df76 = kontener paska, 37f4906f = pasek (logo/menu/ikony),
   6a902297 = logo SKS (tablet/mobile + sticky), sks-hh-logo-desktop = logo szerokie,
   6c03f7f4 = menu, 81393e3 = ikony, c44df5f = tresc, 0a8dcf4 = haslo, d9a8ed3 = przyciski.
   Od 2026-10-04 pasek (logo, menu, ikony, jezyk/waluta, mega menu) jest JEDNYM szablonem
   "NAWIGACJA - pasek" (ID 4488, Szablony -> Kontener), wstawionym widgetem Szablon (sks-hh-pasek)
   do Header HOME i SHOP. ID elementow w szablonie sa te same, wiec te reguly dzialaja bez zmian.
   Rzeczy tylko dla jednego headera -> Custom CSS danego szablonu w Elementorze.
   Progi: >1024 desktop/laptop, <=1024 tablet, <=767 mobile. Claude 2026-09.
   Porzadki 2026-10-02: kolory tylko ze zmiennych globalnych, teksty ze stylow globalnych
   (wyjatki oznaczone WYJATEK).
   Od 2026-10-14 (1.0.96): stare menu usuniete - tresc menu pelnoekranowego i mega menu buduje modul menu
   (SKS - Centrum > Menu); tu zostaje pasek, rama menu, otwieranie mega menu, sticky.
   ========================================================= */

/* strona z tym headerem nie przesuwa sie w bok (niektore sekcje wystaja poza ekran) */
html:has(.elementor-location-header .elementor-element-2b3f2834),
html:has(.elementor-location-header .elementor-element-2b3f2834) body { overflow-x: clip; }

/* ---------- PASEK: nigdy nie lamie sie na 2 linie ---------- */
body .elementor-location-header .elementor-element.elementor-element-37f4906f { flex-wrap: nowrap !important; }
body .elementor-location-header .elementor-element.elementor-element-6a902297,
body .elementor-location-header .elementor-element.elementor-element-sks-hh-logo-desktop { flex: 0 0 auto; }
/* logo desktop/laptop (Sakes New Materials) - plynnie 190-280px */
body .elementor-location-header .elementor-element-sks-hh-logo-desktop img { display: block; width: clamp(190px, 14.5vw, 280px) !important; height: auto !important; max-width: none; }
body .elementor-location-header .elementor-element.elementor-element-6c03f7f4 { flex: 1 1 auto; min-width: 0; }
body .elementor-location-header .elementor-element-6c03f7f4 .elementor-nav-menu--main > .elementor-nav-menu { flex-wrap: nowrap !important; justify-content: center !important; margin-left: auto !important; margin-right: auto !important; }
body .elementor-location-header .elementor-element-6c03f7f4 .elementor-nav-menu--main .elementor-item {
  white-space: nowrap;
  /* WYJATEK: rozmiar menu liczony tak, zeby 5-6 pozycji miescilo sie w 1 linii od ~1200px */
  font-size: clamp(14px, calc(1.6vw - 4px), 22px) !important;   /* ok. 16.5px @1280, 19px @1440, 20.5px @1536, 22px od ~1625 */
  padding-left: clamp(6px, calc(1.6vw - 12px), 20px) !important; /* odstepy maleja szybciej niz czcionka, zeby menu miescilo sie w 1 linii */
  padding-right: clamp(6px, calc(1.6vw - 12px), 20px) !important;
}
/* wlasne menu overlay zastepuje dropdown Elementora */
body .elementor-location-header .elementor-element-6c03f7f4 nav.elementor-nav-menu--dropdown { display: none !important; }

/* ---------- IKONY ---------- */
body .elementor-location-header .elementor-element.elementor-element-81393e3 {
  --sks-ico-gap: clamp(12px, 1.1vw, 18px);
  --width: auto !important; width: auto !important;
  flex: 0 0 auto !important; flex-wrap: nowrap !important;
  align-self: center !important; gap: var(--sks-ico-gap) !important;
}
body .elementor-location-header .elementor-element-c49e88c {
  --items-indicator-background-color: var(--e-global-color-accent);
  --items-indicator-text-color: var(--e-global-color-primary);
}

/* ---------- JEZYK | WALUTA (desktop w ikonach + pasek mobile) ---------- */
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang { display: flex; align-items: center; width: auto !important; gap: 0 !important; }
:is(body .elementor-location-header, .sks-menu-overlay) .elementor-element.sks-hh-lang { flex: 0 0 auto !important; width: max-content !important; max-width: none !important; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang::after { content: ""; width: 1px; height: 22px; margin-left: 10px; background: color-mix(in srgb, var(--e-global-color-text) 45%, transparent); }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang .wpml-ls { padding: 0; border: 0; background: none; width: auto; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang .wpml-ls ul { display: flex; margin: 0; padding: 0; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang .wpml-ls li { padding: 0; margin: 0; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang .wpml-ls a { display: flex; align-items: center; padding: 0; line-height: 1; background: none; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-lang .wpml-ls-flag { display: block; height: 26px !important; width: auto !important; border-radius: 2px; }

:is(body .elementor-location-header, .sks-menu-overlay) .elementor-element.sks-hh-cur { width: auto !important; --container-widget-width: auto; max-width: none; margin-left: calc(10px - var(--sks-ico-gap, 0px)); }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur .wcml-dropdown-click { width: auto; min-width: 0; max-width: none; position: relative; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur .wcml-dropdown-click ul { margin: 0; padding: 0; list-style: none; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur .wcml-dropdown-click li { background: transparent !important; border: 0 !important; margin: 0; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur :is(a, button).wcml-cs-item-toggle {
  position: relative; display: block; padding: 0 20px 0 0 !important;
  background: transparent !important; border: 0 !important;
  color: var(--e-global-color-text) !important;
  /* od 2026-10-13: ten sam styl co menu (krój, grubosc i rozstrzal z globalnej typografii H3 - Karta, rozmiar jak pozycje menu) */
  font-family: var(--e-global-typography-accent-font-family), sans-serif !important; font-weight: var(--e-global-typography-accent-font-weight) !important;
  font-size: clamp(14px, calc(1.6vw - 4px), 22px) !important; /* ten sam rozmiar co pozycje menu */ letter-spacing: var(--e-global-typography-accent-letter-spacing); line-height: 1.091 !important; cursor: pointer;
}
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur :is(a, button).wcml-cs-item-toggle::after { right: 0 !important; border-width: .3em !important; border-top-width: .4em !important; top: calc(50% - .15em) !important; }
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur .wcml-cs-submenu {
  position: absolute; top: calc(100% + 10px) !important; left: 50% !important; right: auto !important;
  transform: translateX(-50%); min-width: 88px; padding: 6px 0 !important; z-index: 60;
  background: var(--e-global-color-056c26f) !important;
  border: 1px solid var(--e-global-color-93a82d0) !important; border-radius: var(--sks-r-lista, 8px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--e-global-color-056c26f) 50%, transparent);
}
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur .wcml-cs-submenu :is(a, button) {
  display: block; padding: 8px 16px !important; text-align: center;
  color: var(--e-global-color-text) !important; background: transparent !important; border: 0 !important;
  font-family: var(--e-global-typography-53b4050b-font-family), sans-serif !important; font-size: var(--e-global-typography-53b4050b-font-size) !important;
  font-weight: var(--e-global-typography-53b4050b-font-weight) !important; letter-spacing: var(--e-global-typography-53b4050b-letter-spacing); cursor: pointer;
}
:is(body .elementor-location-header, .sks-menu-overlay) .sks-hh-cur .wcml-cs-submenu :is(a, button):hover { background: color-mix(in srgb, var(--e-global-color-accent) 35%, transparent) !important; color: var(--e-global-color-primary) !important; }

/* ---------- HAMBURGER (widoczny na tablet/mobile oraz gdy menu sie nie miesci) ---------- */
body .elementor-location-header .elementor-element-6c03f7f4 .elementor-menu-toggle {
  background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
  color: var(--e-global-color-text) !important; font-size: 28px !important; --nav-menu-icon-size: 28px;
  position: relative; z-index: 3; transition: color .2s;
}
body .elementor-location-header .elementor-element-6c03f7f4 .elementor-menu-toggle svg { fill: currentColor !important; width: 1em; height: 1em; }
body .elementor-location-header .elementor-element-6c03f7f4 .elementor-menu-toggle:hover { color: var(--e-global-color-primary) !important; }
/* tablet i telefon: hamburger / X w jednej linii z ikonami i logo (2026-10-14).
   WYJATEK: widgety logo, lupy, konta i koszyka maja pod trescia ok. 4 px wolnego miejsca (linia tekstu w kontenerze widgetu),
   wiec ich srodek wizualny lezy ok. 4 px nad srodkiem paska; hamburger (flex, bez tego miejsca) podnosimy o tyle samo. */
@media (max-width: 1024px) { body .elementor-location-header .elementor-element-6c03f7f4 .elementor-menu-toggle { top: -4px; } }
/* w pasku sticky (zamkniete menu) pasek ma line-height 1.2, wiec wolne miejsce pod ikonami jest o polowe mniejsze */
@media (max-width: 1024px) { html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element-6c03f7f4 .elementor-menu-toggle { top: -2px; } }

/* auto-hamburger na desktopie/laptopie (klase dodaje skrypt, gdy menu sie nie miesci) */
body .elementor-location-header .sks-hh--compact .elementor-element-6c03f7f4 .elementor-nav-menu--main { display: none !important; }
body .elementor-location-header .sks-hh--compact .elementor-element-6c03f7f4 .elementor-menu-toggle { display: flex !important; }
body .elementor-location-header .sks-hh--compact .elementor-element.elementor-element-6c03f7f4 { order: 3; flex: 0 0 auto; }
body .elementor-location-header .sks-hh--compact .elementor-element.elementor-element-81393e3 { order: 2; }
body .elementor-location-header .sks-hh--compact .elementor-element.elementor-element-sks-hh-logo-desktop { margin-right: auto; }
body .elementor-location-header .sks-hh--compact .elementor-element.elementor-element-37f4906f { gap: 18px !important; }

/* haslo na laptopach: odstepy skaluja sie z rozmiarem liter (na duzym monitorze bez zmian) */
@media (min-width: 1025px) {
  body .elementor-location-header .elementor-element.elementor-element-ffa01a0 { --e-transform-translateY: clamp(11px, 2.25vw, 35px); }
  body .elementor-location-header .elementor-element.elementor-element-f662f62,
  body .elementor-location-header .elementor-element.elementor-element-e9c30d2 { margin-top: max(-14px, -0.91vw); }
}

/* =========================================================
   TABLET + MOBILE (<=1024) - uklad wg mockupu
   ========================================================= */
@media (max-width: 1024px) {
  body .elementor-location-header .elementor-element-81393e3 .sks-hh-lang,
  body .elementor-location-header .elementor-element-81393e3 .sks-hh-cur { display: none !important; }

  /* logo + ikony + hamburger */
  body .elementor-location-header .elementor-element.elementor-element-144df76 {
    --padding-top: 18px !important; --padding-bottom: 18px !important;
    --padding-left: 32px !important; --padding-right: 32px !important;
  }
  body .elementor-location-header .elementor-element.elementor-element-37f4906f { gap: 20px !important; }
  body .elementor-location-header .elementor-element.elementor-element-6a902297 { margin-right: auto; }
  body .elementor-location-header .elementor-element-6a902297 img { width: 124px !important; height: auto !important; }
  body .elementor-location-header .elementor-element.elementor-element-81393e3 { order: 2; --sks-ico-gap: 20px; }
  body .elementor-location-header .elementor-element.elementor-element-6c03f7f4 { order: 3; flex: 0 0 auto; }
  body .elementor-location-header .elementor-element-e9ae7b4 .elementor-icon,
  body .elementor-location-header .elementor-element-header-home-account-icon .elementor-icon { font-size: 24px !important; }
  body .elementor-location-header .elementor-element-e9ae7b4 .elementor-icon svg,
  body .elementor-location-header .elementor-element-header-home-account-icon .elementor-icon svg { width: 1em !important; height: 1em !important; }
  body .elementor-location-header .elementor-element-c49e88c { --toggle-icon-size: 24px; }

  /* haslo - wysrodkowane, 3 linie rownej szerokosci */
  body .elementor-location-header .elementor-element.elementor-element-c44df5f {
    --align-items: center !important; align-items: center !important;
    --padding-left: 32px !important; --padding-right: 32px !important; --padding-bottom: 64px !important;
  }
  body .elementor-location-header .elementor-element.elementor-element-0a8dcf4 {
    /* szerokosc hasla = szerokosc ekranu, ale nie wiecej niz 560px i nie wiecej niz 85% WYSOKOSCI ekranu
       (dzieki temu w poziomie telefonu litery nie rosna) */
    --width: min(100%, 560px, 85svh) !important; width: min(100%, 560px, 85svh) !important; max-width: 100%;
    container-type: inline-size; --align-items: stretch; align-items: stretch !important;
    --gap: 0px !important; gap: 0 !important; /* bez odstepu 20px miedzy liniami hasla */
  }
  body .elementor-location-header .elementor-element.elementor-element-ffa01a0,
  body .elementor-location-header .elementor-element.elementor-element-f662f62,
  body .elementor-location-header .elementor-element.elementor-element-e9c30d2,
  body .elementor-location-header .elementor-element-ffa01a0 > .elementor-widget-container,
  body .elementor-location-header .elementor-element-f662f62 > .elementor-widget-container,
  body .elementor-location-header .elementor-element-e9c30d2 > .elementor-widget-container {
    margin: 0 !important; --e-transform-translateX: 0px !important; --e-transform-translateY: 0px !important;
  }
  body .elementor-location-header .elementor-element-ffa01a0 .elementor-heading-title,
  body .elementor-location-header .elementor-element-f662f62 .elementor-heading-title,
  body .elementor-location-header .elementor-element-e9c30d2 .elementor-heading-title { text-align: center; white-space: nowrap; }
  /* WYJATEK: rozmiary startowe hasla - skrypt dopasowuje je co do piksela do szerokosci */
  body .elementor-location-header .elementor-element-ffa01a0 .elementor-heading-title { font-size: calc(100cqi / 16.3) !important; margin-bottom: .2em; }
  body .elementor-location-header .elementor-element-f662f62 .elementor-heading-title { font-size: calc(100cqi / 7.9) !important; line-height: .92 !important; }
  body .elementor-location-header .elementor-element-e9c30d2 .elementor-heading-title { font-size: calc(100cqi / 8.17) !important; line-height: .92 !important; }

  /* przyciski - pelna szerokosc, jeden pod drugim */
  body .elementor-location-header .elementor-element.elementor-element-d9a8ed3 {
    --flex-direction: column !important; flex-direction: column !important;
    --align-items: stretch !important; align-items: stretch !important;
    --width: min(100%, 560px, 85svh) !important; width: min(100%, 560px, 85svh) !important;
    --padding-top: 32px !important; gap: 14px !important; --gap: 14px !important;
  }
  body .elementor-location-header .elementor-element-d9a8ed3 .elementor-element.sks-btn-primary,
  body .elementor-location-header .elementor-element-d9a8ed3 .elementor-element.sks-btn-secondary { width: 100% !important; align-self: stretch !important; }
  body .elementor-location-header .elementor-element-d9a8ed3 .elementor-button { display: flex !important; width: 100% !important; justify-content: center; }
  body .elementor-location-header .elementor-element-d9a8ed3 .elementor-button-content-wrapper { justify-content: center; padding: var(--sks-btn-pad-y) var(--sks-btn-pad-x) !important; /* 2026-10-01: jak wszystkie przyciski (bylo 18px 24px) */ }
}

/* MOBILE (<=767) oraz telefon w poziomie (niski ekran) */
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) {
  body .elementor-location-header .elementor-element.elementor-element-144df76 {
    --padding-top: 16px !important; --padding-bottom: 16px !important;
    --padding-left: 20px !important; --padding-right: 20px !important;
  }
  body .elementor-location-header .elementor-element.elementor-element-37f4906f { gap: 16px !important; }
  body .elementor-location-header .elementor-element-6a902297 img { width: 96px !important; }
  body .elementor-location-header .elementor-element.elementor-element-81393e3 { --sks-ico-gap: 16px; }
  body .elementor-location-header .elementor-element-e9ae7b4 .elementor-icon,
  body .elementor-location-header .elementor-element-header-home-account-icon .elementor-icon { font-size: 21px !important; }
  body .elementor-location-header .elementor-element-c49e88c { --toggle-icon-size: 22px; }
  body .elementor-location-header .elementor-element-6c03f7f4 .elementor-menu-toggle { font-size: 26px !important; --nav-menu-icon-size: 26px; }
  body .elementor-location-header .elementor-element.elementor-element-c44df5f { --padding-left: 20px !important; --padding-right: 20px !important; --padding-bottom: 48px !important; }
  body .elementor-location-header .elementor-element.elementor-element-d9a8ed3 { --padding-top: 28px !important; gap: 12px !important; --gap: 12px !important; }
  body .elementor-location-header .elementor-element-d9a8ed3 .elementor-button-content-wrapper { padding: var(--sks-btn-pad-y) var(--sks-btn-pad-x) !important; /* bylo 17px 20px */ }
}

/* =========================================================
   MENU OVERLAY (pelnoekranowe) - rama: tlo, poswiata, polozenie, jezyk | waluta.
   Tresc (pozycje firmy, SHOP, kategorie, warianty P1-P3 / L1-L2) - modul menu: moduly/menu/sks-menu.css.
   ========================================================= */
html.sks-menu-open, html.sks-menu-open body { overflow: hidden !important; }
html.sks-menu-open body .elementor-location-header .elementor-element.elementor-element-37f4906f { position: relative; z-index: 9991; }

.sks-menu-overlay {
  position: fixed; inset: 0; min-height: 100lvh; z-index: 9990;
  display: flex; flex-direction: column;
  padding: calc(var(--sks-hh-top, 110px) + 16px) 24px 32px;
  overflow-y: auto; overscroll-behavior: contain;
  background: color-mix(in srgb, var(--e-global-color-056c26f) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
html.sks-menu-open .sks-menu-overlay { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.sks-menu-overlay__glow {
  position: fixed; inset: 0; min-height: 100lvh; pointer-events: none;
  background:
    radial-gradient(90% 55% at 100% 0%, color-mix(in srgb, var(--e-global-color-accent) 42%, transparent), transparent 65%),
    radial-gradient(70% 45% at 0% 100%, color-mix(in srgb, var(--e-global-color-accent) 22%, transparent), transparent 70%);
}
.sks-menu-overlay__nav { position: relative; width: min(100%, 640px); margin: auto; }
/* jezyk | waluta pod ostatnia pozycja menu (tablet/mobile; przenoszone skryptem z headera) */
body .elementor-location-header .elementor-element.sks-hh-topbar { display: none !important; }
.sks-menu-overlay .sks-hh-topbar {
  position: relative; z-index: 2; flex: 0 0 auto;
  display: flex; flex-direction: row; justify-content: flex-start; align-items: center;
  width: 100%; margin: 0; padding: 20px 0 0 !important;
  background: none !important; gap: 0; min-height: 0;
  opacity: 0; transition: opacity .4s ease .05s;
}
html.sks-menu-open .sks-menu-overlay .sks-hh-topbar { opacity: 1; }
@media (min-width: 1025px) { .sks-menu-overlay .sks-hh-topbar { display: none !important; } }
body .sks-menu-overlay .sks-hh-lang .wpml-ls-flag { height: 18px !important; }
body .sks-menu-overlay .sks-hh-lang::after { height: 16px; background: color-mix(in srgb, var(--e-global-color-primary) 50%, transparent); }
body .sks-menu-overlay .sks-hh-cur :is(a, button).wcml-cs-item-toggle { font-size: 14px !important; color: var(--e-global-color-primary) !important; padding-right: 16px !important; }
/* w menu lista walut otwiera sie W GORE (przelacznik jest na dole) - inaczej menu da sie przewinac */
body .sks-menu-overlay .sks-hh-cur .wcml-cs-submenu { top: auto !important; bottom: calc(100% + 10px) !important; }
/* 2026-11-16: jezyk w menu telefonu jako kod (shortcode [sks_lang_switcher], jak na komputerze) zamiast flagi WPML -
   flaga WPML byla pusta dla gosci, bo DE/PL sa ukryte. Ten sam rozmiar i kolor co EUR obok, lista tez W GORE. */
body .sks-menu-overlay .sks-hh-lang .sks-lang-dd__toggle { font-size: 14px !important; color: var(--e-global-color-primary) !important; padding-right: 16px !important; } /* WYJATEK: 14px jak EUR w tym samym pasku */
body .sks-menu-overlay .sks-hh-lang .sks-lang-dd--single .sks-lang-dd__toggle { padding-right: 0 !important; }
body .sks-menu-overlay .sks-hh-lang .sks-lang-dd__menu { top: auto; bottom: calc(100% + 10px); }

.sks-menu-overlay__foot {
  margin-top: 36px; font-family: var(--e-global-typography-secondary-font-family), sans-serif;
  font-size: var(--e-global-typography-secondary-font-size); letter-spacing: var(--e-global-typography-secondary-letter-spacing); color: var(--e-global-color-primary);
  opacity: 0; transition: opacity .45s ease .1s;
}
.sks-menu-overlay__foot span { color: var(--e-global-color-secondary); }
html.sks-menu-open .sks-menu-overlay__foot { opacity: 1; transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .sks-menu-overlay, .sks-menu-overlay__foot { transition: none !important; }
}

/* =========================================================
   TELEFON W POZIOMIE (niski ekran <=500px)
   ========================================================= */
@media (max-width: 1024px) and (max-height: 500px) {
  /* haslo i przyciski do lewej, w linii z logo */
  body .elementor-location-header .elementor-element.elementor-element-c44df5f { --align-items: flex-start !important; align-items: flex-start !important; }
  body .elementor-location-header .elementor-element-ffa01a0 .elementor-heading-title,
  body .elementor-location-header .elementor-element-f662f62 .elementor-heading-title,
  body .elementor-location-header .elementor-element-e9c30d2 .elementor-heading-title { text-align: left; }

  /* menu: krotsze linie, wyrownane z logo, wszystko miesci sie bez przewijania */
  .sks-menu-overlay { padding: calc(var(--sks-hh-top, 64px) + 4px) 20px 12px; }
  .sks-menu-overlay__nav { width: fit-content; min-width: min(100%, 300px); margin: 0 auto 0 0; }
  .sks-menu-overlay .sks-hh-topbar { padding-top: 12px !important; }
  .sks-menu-overlay__foot { display: none; }
}

/* =========================================================
   STICKY (od 2026-10-14) - pasek przyklejony u gory ekranu
   Klasy dodaje skrypt: sks-hh--fixed (pasek przyklejony), sks-hh--show (widoczny), sks-hh--przezr (bez tla).
   Kiedy jest przyklejony / widoczny / przezroczysty - decyduja klasy sekcji (sks-menu-sticky / -chowaj / -ukryj /
   -przezroczyste / -tlo, opis w sks-header.js). Wyglad przyklejony tylko przy ZAMKNIETYM menu (html:not(.sks-menu-open)).
   ========================================================= */
/* pozycja - zawsze gdy fixed */
body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important; max-width: none !important; margin: 0 !important; z-index: 9980;
  filter: none !important; transform: translateY(-105%) !important;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .3s, border-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
  padding: 24px 30px 24px !important; /* jak zwykly header (padding kontenera 144df76; od 2026-10-13 gora 24 px, od 2026-10-15 dol tez 24 px) */
}
body .elementor-location-header .sks-hh--fixed.sks-hh--show .elementor-element.elementor-element-37f4906f { transform: none !important; }
body .elementor-location-header .sks-hh--noanim .elementor-element.elementor-element-37f4906f { transition: none !important; }
/* 2026-11-14: wylacznik animacji obejmuje tez logo i kontener 81393e3 - bez tego pomiar paska (menuH) i przelaczanie
   fixed/static uruchamialy animacje szerokosci logo, pasek zmienial rozmiar i petla drgala */
body .elementor-location-header .sks-hh--noanim .elementor-element-sks-hh-logo-desktop img,
body .elementor-location-header .sks-hh--noanim .elementor-element.elementor-element-81393e3 { transition: none !important; }
/* DOKOWANIE (2026-11-14, decyzja Tomka - wariant A): przy dojezdzie na gore strony pasek przyklejony (sks-hh--dock)
   przyjmuje geometrie menu z gory strony (reguly wygladu przyklejonego maja :not(.sks-hh--dock)), plynnie rosnie,
   a potem skrypt niewidocznie oddaje miejsce zwyklemu menu. To samo w druga strone, gdy pasek od razu sticky (np. Cooperation).
   sks-hh--morph = przejscia na czas zmiany geometrii. */
body .elementor-location-header .sks-hh--fixed.sks-hh--morph .elementor-element.elementor-element-37f4906f {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), top .35s cubic-bezier(.2, .7, .2, 1), padding .35s cubic-bezier(.2, .7, .2, 1), min-height .35s cubic-bezier(.2, .7, .2, 1), background-color .3s, border-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
body .elementor-location-header .sks-hh--morph .elementor-element.elementor-element-81393e3 { transition: padding .35s cubic-bezier(.2, .7, .2, 1); }

/* wyglad przyklejony - tylko przy zamknietym menu */
html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-37f4906f {
  min-height: 64px; padding: 8px 30px !important; line-height: 1.2;
  /* tablet i telefon; przyciemnienie i rozmycie ustawiane w SKS - Centrum > Menu > Sticky menu (zmienne --sks-st-*-m), wartosci wyjsciowe: 74%, blur 14px saturate 140% */
  background-color: color-mix(in srgb, var(--e-global-color-056c26f) var(--sks-st-tlo-m, 74%), transparent);
  -webkit-backdrop-filter: var(--sks-st-rozmycie-m, blur(14px) saturate(140%)); backdrop-filter: var(--sks-st-rozmycie-m, blur(14px) saturate(140%));
  border-bottom: 1px solid color-mix(in srgb, var(--e-global-color-primary) 7%, transparent);
}
html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-81393e3 { --padding-top: 0px !important; --padding-bottom: 0px !important; padding-top: 0 !important; padding-bottom: 0 !important; }

/* KOMPUTER (2026-10-14, decyzja Tomka: dlugie logo, delikatniej): nizszy pasek, dlugie logo troche mniejsze,
   lzejsze tlo z mocniejszym rozmyciem i ledwo widoczna linia na dole. */
@media (min-width: 1025px) {
  html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-37f4906f {
    min-height: 0; padding: 12px 30px !important;
    /* przyciemnienie i rozmycie z SKS - Centrum > Menu > Sticky menu (zmienne --sks-st-*), wartosci wyjsciowe: 55%, blur 20px saturate 130% */
    background-color: color-mix(in srgb, var(--e-global-color-056c26f) var(--sks-st-tlo, 55%), transparent);
    -webkit-backdrop-filter: var(--sks-st-rozmycie, blur(20px) saturate(130%)); backdrop-filter: var(--sks-st-rozmycie, blur(20px) saturate(130%));
    border-bottom-color: color-mix(in srgb, var(--e-global-color-primary) 5%, transparent);
  }
  body .elementor-location-header .elementor-element-sks-hh-logo-desktop img { transition: width .35s cubic-bezier(.2, .7, .2, 1); }
  html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element-sks-hh-logo-desktop img { width: clamp(160px, 11.5vw, 220px) !important; }

  /* WARIANTY paska przyklejonego na komputerze (2026-10-15) - wybor w SKS - Centrum > Menu > Sticky menu, klasa body sks-st--1 / --2 / --3a.
     1 = powyzej (domyslny). 2 = rozmiary jak menu na gorze strony. 3A = smukly (logo, napisy i ikony ok. 84%). */
  html:not(.sks-menu-open) body.sks-st--2 .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-37f4906f { padding: 24px 30px 24px !important; line-height: inherit; }
  html:not(.sks-menu-open) body.sks-st--2 .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element-sks-hh-logo-desktop img { width: clamp(190px, 14.5vw, 280px) !important; }
  html:not(.sks-menu-open) body.sks-st--2 .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-81393e3 {
    --padding-top: var(--container-default-padding-top, 10px) !important; --padding-bottom: var(--container-default-padding-bottom, 10px) !important;
    padding-top: var(--container-default-padding-top, 10px) !important; padding-bottom: var(--container-default-padding-bottom, 10px) !important;
  }
  html:not(.sks-menu-open) body.sks-st--3a .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-37f4906f { padding: 7px 30px !important; line-height: 1.1; }
  html:not(.sks-menu-open) body.sks-st--3a .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element-sks-hh-logo-desktop img { width: clamp(132px, 9.4vw, 176px) !important; }
  html:not(.sks-menu-open) body.sks-st--3a .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element-6c03f7f4 .elementor-nav-menu--main .elementor-item {
    font-size: calc(clamp(14px, calc(1.6vw - 4px), 22px) * .84) !important; /* WYJATEK: 84% rozmiaru menu (ten sam wspolczynnik co ikony, zeby EN | EUR zostalo rowne z menu) */
    padding-top: 6px !important; padding-bottom: 6px !important;
  }
  html:not(.sks-menu-open) body.sks-st--3a .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-81393e3 { zoom: .84; }
}
/* tablet */
@media (max-width: 1024px) {
  body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f { padding: 18px 32px !important; }
  html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-37f4906f { min-height: 58px; padding: 8px 32px !important; }
}
/* mobile + telefon w poziomie */
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) {
  body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f { padding: 16px 20px !important; }
  html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock) .elementor-element.elementor-element-37f4906f { min-height: 54px; padding: 6px 20px !important; }
}
/* PRZEZROCZYSTY (klasa sekcji sks-menu-przezroczyste): wyglad jak przyklejony, ale bez tla, rozmycia i linii */
html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock).sks-hh--przezr .elementor-element.elementor-element-37f4906f {
  background-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom-color: transparent !important;
}
/* GRADIENT (od 2026-10-19): pasek bez tla, rozmycia i linii + ciemny gradient od gory, o 40 px dluzszy niz pasek
   (::before), opcjonalnie rozmycie zanikajace ku dolowi (::after, backdrop-filter z maska).
   Kiedy: klasa sekcji sks-menu-gradient (root sks-hh--grad, np. cala Cooperation) ALBO styl paska "gradient"
   z SKS - Centrum > Menu > Sticky (body.sks-st-styl-grad = komputer, body.sks-st-styl-grad-m = tablet i telefon),
   o ile sekcja nie ma sks-menu-przezroczyste (sks-hh--przezr, takze regula GSAP) ani sks-menu-tlo (sks-hh--tlo).
   Sila (czern na gorze; w polowie ok. 55% tej wartosci) i rozmycie: --sks-st-grad / --sks-st-gblur (komputer),
   --sks-st-grad-m / --sks-st-gblur-m (tablet i telefon), wyjsciowo 60% i bez rozmycia. */
body .elementor-location-header .elementor-element.elementor-element-37f4906f { --sks-gr: var(--sks-st-grad, 60%); --sks-gb: var(--sks-st-gblur, none); }
@media (max-width: 1024px) { body .elementor-location-header .elementor-element.elementor-element-37f4906f { --sks-gr: var(--sks-st-grad-m, 60%); --sks-gb: var(--sks-st-gblur-m, none); } }
body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f::before,
body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 40px); z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f::before {
  background: linear-gradient(to bottom, color-mix(in srgb, var(--e-global-color-056c26f) var(--sks-gr), transparent) 0%, color-mix(in srgb, var(--e-global-color-056c26f) calc(var(--sks-gr) * .55), transparent) 55%, transparent 100%);
}
body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f::after {
  -webkit-backdrop-filter: var(--sks-gb); backdrop-filter: var(--sks-gb);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%); /* WYJATEK: maska (czern = widoczne), nie kolor */
}
/* klasa sekcji sks-menu-gradient (tlo zdejmuje juz blok PRZEZROCZYSTY, bo skrypt daje tez sks-hh--przezr) */
html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock).sks-hh--grad .elementor-element.elementor-element-37f4906f::before,
html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock).sks-hh--grad .elementor-element.elementor-element-37f4906f::after { opacity: 1; }
/* styl paska "gradient" z Centrum */
@media (min-width: 1025px) {
  html:not(.sks-menu-open) body.sks-st-styl-grad .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock):not(.sks-hh--przezr):not(.sks-hh--tlo) .elementor-element.elementor-element-37f4906f {
    background-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom-color: transparent !important;
  }
  html:not(.sks-menu-open) body.sks-st-styl-grad .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock):not(.sks-hh--przezr):not(.sks-hh--tlo) .elementor-element.elementor-element-37f4906f::before,
  html:not(.sks-menu-open) body.sks-st-styl-grad .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock):not(.sks-hh--przezr):not(.sks-hh--tlo) .elementor-element.elementor-element-37f4906f::after { opacity: 1; }
}
@media (max-width: 1024px) {
  html:not(.sks-menu-open) body.sks-st-styl-grad-m .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock):not(.sks-hh--przezr):not(.sks-hh--tlo) .elementor-element.elementor-element-37f4906f {
    background-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom-color: transparent !important;
  }
  html:not(.sks-menu-open) body.sks-st-styl-grad-m .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock):not(.sks-hh--przezr):not(.sks-hh--tlo) .elementor-element.elementor-element-37f4906f::before,
  html:not(.sks-menu-open) body.sks-st-styl-grad-m .elementor-location-header .sks-hh--fixed:not(.sks-hh--dock):not(.sks-hh--przezr):not(.sks-hh--tlo) .elementor-element.elementor-element-37f4906f::after { opacity: 1; }
}

/* WYSOKOSC PASKA PRZYKLEJONEGO (--sks-menu-h): dokladna wartosc liczy sks-header.js; tu zapas na pierwsza klatke.
   Uzycie: odsuwanie tresci w sekcjach przypinanych (GSAP) - gorne --sks-menu-h to "strefa menu". */
:root { --sks-menu-h: 74px; }
@media (max-width: 1024px) { :root { --sks-menu-h: 58px; } }
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) { :root { --sks-menu-h: 54px; } }

@media (prefers-reduced-motion: reduce) {
  body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f { transition: none !important; }
  body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f::before,
  body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-37f4906f::after { transition: none; }
}

/* =========================================================
   JEZYK jako kod EN/DE/PL (desktop + laptop) - shortcode [sks_lang_switcher]
   (wtyczka sandbox sks-lang-switcher.php), styl jak przelacznik walut.
   Na tablet/mobile w menu zostaje flaga WPML (sks-hh-topbar).
   ========================================================= */
.sks-lang-dd { position: relative; }
.sks-lang-dd__toggle {
  position: relative; display: block; margin: 0; padding: 0 20px 0 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important;
  color: var(--e-global-color-text) !important; cursor: pointer;
  /* od 2026-10-13: ten sam styl co menu (krój, grubosc i rozstrzal z globalnej typografii H3 - Karta, rozmiar jak pozycje menu) */
  font-family: var(--e-global-typography-accent-font-family), sans-serif !important; font-weight: var(--e-global-typography-accent-font-weight) !important;
  font-size: clamp(14px, calc(1.6vw - 4px), 22px) !important; /* ten sam rozmiar co pozycje menu */ letter-spacing: var(--e-global-typography-accent-letter-spacing); line-height: 1.091 !important; text-transform: uppercase;
}
.sks-lang-dd__toggle::after {
  content: ""; position: absolute; right: 0; top: calc(50% - .15em);
  border: .3em solid transparent; border-top: .4em solid currentColor; border-bottom: 0;
}
.sks-lang-dd__toggle:hover, .sks-lang-dd__toggle:focus-visible { color: var(--e-global-color-primary) !important; outline: none; }
.sks-lang-dd__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 88px; margin: 0; padding: 6px 0; list-style: none; z-index: 60;
  background: var(--e-global-color-056c26f); border: 1px solid var(--e-global-color-93a82d0);
  border-radius: var(--sks-r-lista, 8px); box-shadow: 0 8px 24px color-mix(in srgb, var(--e-global-color-056c26f) 50%, transparent);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s;
}
.sks-lang-dd.is-open .sks-lang-dd__menu { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }
.sks-lang-dd__menu li { margin: 0; padding: 0; }
.sks-lang-dd__menu a {
  display: block; padding: 8px 16px; text-align: center; text-decoration: none;
  color: var(--e-global-color-text) !important;
  font-family: var(--e-global-typography-53b4050b-font-family), sans-serif; font-size: var(--e-global-typography-53b4050b-font-size);
  font-weight: var(--e-global-typography-53b4050b-font-weight); letter-spacing: var(--e-global-typography-53b4050b-letter-spacing);
}
.sks-lang-dd__menu a:hover, .sks-lang-dd__menu a:focus-visible { background: color-mix(in srgb, var(--e-global-color-accent) 35%, transparent); color: var(--e-global-color-primary) !important; outline: none; }

/* gdy publicznie widoczny jest tylko jeden jezyk: sam kod, bez strzalki */
.sks-lang-dd--single .sks-lang-dd__toggle { padding-right: 0 !important; cursor: default; pointer-events: none; }
.sks-lang-dd--single .sks-lang-dd__toggle::after { display: none; }

/* =========================================================
   MEGA MENU SHOP - desktop: pusty kontener "sks-mega-panel" w pasku 37f4906f (szablon 4488)
   Pokazywany po najechaniu na pozycje menu z klasa "sks-mega" (klasa sks-mega-open dodaje skrypt).
   Tresc i wyglad panelu (uklad M3c, efekty, kategorie) - modul menu: SKS - Centrum > Menu, moduly/menu/sks-menu.css.
   ========================================================= */
body .elementor-location-header .elementor-element.elementor-element-37f4906f { position: relative; }
body .elementor-location-header .elementor-element.sks-mega-panel {
  position: absolute !important; top: calc(100% + 14px); left: 0; right: 0; z-index: 70;
  width: auto !important; max-width: none !important; --width: auto; margin: 0 !important;
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  /* WYLACZONE 2026-10-03 (Tomek, moze wrocimy): rozmycie wideo pod panelem i ciemna poswiata wokol panelu
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--e-global-color-056c26f) 55%, transparent);
  */
}
body .elementor-location-header .sks-mega-open .elementor-element.sks-mega-panel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
/* w pasku sticky panel nieco wezszy i blizej paska */
body .elementor-location-header .sks-hh--fixed .elementor-element.sks-mega-panel { top: calc(100% + 8px); left: 32px; right: 32px; }
/* tablet/mobile i tryb hamburgera na desktopie - bez panelu */
@media (max-width: 1024px) { body .elementor-location-header .elementor-element.sks-mega-panel { display: none !important; } }
body .elementor-location-header .sks-hh--compact .elementor-element.sks-mega-panel { display: none !important; }

/* Waluta: na stronach WooCommerce (body.woocommerce) WCML dodaje margines 1em nad i pod przelacznikiem
   -> pasek w headerze SHOP byl wyzszy i menu przesuwalo sie o kilka px wzgledem HOME */
body .sks-hh-cur .wcml-dropdown-click.product, body .sks-hh-cur .wcml_currency_switcher { margin: 0 !important; }

/* ---------- ODSTEP LINII HASLA (HOME i SHOP, od 2026-10-08) ----------
   Widoczny odstep miedzy biala linia 1 i 2 hasla = --sks-haslo-g (em fontu hasla), ustawiany na kontenerze hasla przez naglowek.php
   z tekstu linii: 0.16 em zwykle wersaliki, 0.33 em akcenty nad literami w linii 2, 0.30 em ogonki w linii 1, 0.53 em oba.
   WYJATEK (metryki fontu): wysokosc wersalikow MADE Outer Sans = .71em; na tablecie i telefonie interlinia hasla = .92 (wyzej w tym pliku).
   Linia 2 kasuje odstep kontenera i ustawia sie sama (margines tytulu). */
@media (min-width: 1025px) {
  body .elementor-location-header .elementor-element.elementor-element-f662f62 + .elementor-element.elementor-element-e9c30d2 { margin-top: calc(-1 * var(--row-gap, 0px)); }
  body .elementor-location-header .elementor-element-f662f62 + .elementor-element-e9c30d2 .elementor-heading-title { margin-top: calc(var(--sks-haslo-g, .33em) - var(--e-global-typography-3b9db65e-line-height) + .71em); }
}
@media (max-width: 1024px) {
  body .elementor-location-header .elementor-element-f662f62 + .elementor-element-e9c30d2 .elementor-heading-title { margin-top: calc(var(--sks-haslo-g, .33em) - .21em); }
}

/* LOGO SZEROKIE (Sakes New Materials) TAKZE NA TABLECIE I TELEFONIE (2026-10-13), takze w pasku przyklejonym. */
@media (max-width: 1024px) {
  body .elementor-location-header .elementor-element.elementor-element-sks-hh-logo-desktop { display: block !important; flex: 0 0 auto; margin-right: auto; }
  body .elementor-location-header .elementor-element.elementor-element-6a902297 { display: none !important; }
  body .elementor-location-header .elementor-element-sks-hh-logo-desktop img { width: 200px !important; }
  /* od 2026-10-13: takze w sticky zostaje logo szerokie (samo SKS 6a902297 ukryte) */
  html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-sks-hh-logo-desktop { display: block !important; }
  html:not(.sks-menu-open) body .elementor-location-header .sks-hh--fixed .elementor-element.elementor-element-6a902297 { display: none !important; }
}
/* telefon pionowo: tyle, ile zostaje obok ikon (360px ekranu = 150px logo) */
@media (max-width: 767px) {
  body .elementor-location-header .elementor-element-sks-hh-logo-desktop img { width: clamp(110px, calc(100vw - 210px), 170px) !important; }
}
/* telefon poziomo */
@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  body .elementor-location-header .elementor-element-sks-hh-logo-desktop img { width: 180px !important; }
}


/* --sks-menu-x (od 2026-10-22): odstep tresci paska menu od krawedzi ekranu (= padding kontenera 144df76 wyzej).
   Dla elementow, ktore maja stac w linii z menu, a nie z sekcjami (np. licznik + Skip w kategoriach na Home, PREZENTACJA1). */
:root { --sks-menu-x: 30px; }
@media (max-width: 1024px) { :root { --sks-menu-x: 32px; } }
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) { :root { --sks-menu-x: 20px; } }
