/* Portal b2b.npz.pl - wspolny wyglad (mockup nowy/portal.css, zatwierdzony). Czcionki lokalne, bez Google Fonts. */
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/oswald-latin-ext-d30c28.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/oswald-latin-eeae77.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/oswald-latin-ext-d30c28.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/oswald-latin-eeae77.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/oswald-latin-ext-d30c28.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/oswald-latin-eeae77.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-ext-de38a2.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-2f5adf.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-latin-ext-de38a2.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-latin-2f5adf.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-latin-ext-de38a2.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-latin-2f5adf.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald zapas';src:local('Arial'),local('ArialMT'),local('Helvetica');size-adjust:79.17%;ascent-override:150.68%;descent-override:36.50%;line-gap-override:0.00%}
@font-face{font-family:'Montserrat zapas';src:local('Arial'),local('ArialMT'),local('Helvetica');size-adjust:106.68%;ascent-override:90.74%;descent-override:23.53%;line-gap-override:0.00%}
:root {
  --green: #68b42d;
  --green-deep: #3f7318;
  --green-pale: #eaf6e0;
  --navy: #0f123e;
  --navy-2: #1a1f5c;
  --fuchsia: #dd19b2;
  --fuchsia-deep: #c80e92;
  --ink: #353738;
  --ink-soft: rgba(53, 55, 56, .72);
  --paper: #f7fbf4;
  --paper-2: #eef5e9;
  --hair: rgba(15, 18, 62, .12);
  --sh-sm: 0 2px 10px rgba(15, 18, 62, .05);
  --sh-md: 0 14px 34px rgba(15, 18, 62, .10);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='%239fe34a' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M25.8,-14.91 25.8,14.91 0,29.81 -25.8,14.91 -25.8,-14.91 0,-29.81'/%3E%3Cpath d='M85.8,-14.91 85.8,14.91 60,29.81 34.2,14.91 34.2,-14.91 60,-29.81'/%3E%3Cpath d='M55.8,37.09 55.8,66.91 30,81.81 4.2,66.91 4.2,37.09 30,22.19'/%3E%3Cpath d='M25.8,89.09 25.8,118.91 0,133.81 -25.8,118.91 -25.8,89.09 0,74.19'/%3E%3Cpath d='M85.8,89.09 85.8,118.91 60,133.81 34.2,118.91 34.2,89.09 60,74.19'/%3E%3C/g%3E%3C/svg%3E");
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 Montserrat, "Montserrat zapas", "Segoe UI", Arial, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: Oswald, "Oswald zapas", "Arial Narrow", sans-serif; font-weight: 600; color: var(--navy); letter-spacing: .01em; margin: 0; }

/* ---------- Nagłówek ---------- */
.top { background: #fff; border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 40; }
.top .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.top .logo img { height: 46px; width: auto; }
.zones { display: flex; gap: 28px; height: 100%; }
.zones a {
  display: flex; align-items: center; text-decoration: none; height: 100%;
  font-weight: 600; font-size: .95rem; color: var(--navy);
  border-bottom: 3px solid transparent; padding-top: 3px;
}
.zones a:hover { color: var(--green-deep); }
.zones a[aria-current] { border-color: var(--green); }
.top .tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.find { position: relative; }
.find input {
  width: 260px; height: 42px; border-radius: 999px; border: 1px solid var(--hair);
  background: var(--paper); padding: 0 16px 0 40px; font: inherit; font-size: .9rem;
}
.find input:focus { outline: none; border-color: var(--green); background: #fff; }
.find svg { position: absolute; left: 14px; top: 12px; color: var(--ink-soft); }
.lang { display: flex; gap: 2px; font-size: .8rem; font-weight: 600; }
.lang button { border: 0; background: none; cursor: pointer; padding: 4px 7px; border-radius: 6px; color: var(--ink-soft); font-weight: 600; font-size: inherit; }
.lang button:hover { color: var(--navy); }
.lang button[aria-pressed="true"] { color: var(--fuchsia-deep); }
.out { font-size: .88rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-dl { background: var(--fuchsia); color: #fff; }
.btn-dl:hover { background: var(--fuchsia-deep); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-line { background: #fff; border-color: var(--hair); color: var(--navy); }
.btn-line:hover { border-color: var(--green); color: var(--green-deep); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .82rem; }

/* ---------- Pasek tytułu podstrony ---------- */
.pagehead { padding: 44px 0 28px; }
.pagehead h1 { font-size: 2.6rem; line-height: 1.1; text-transform: uppercase; }
.pagehead p { max-width: 62ch; margin: 10px 0 0; color: var(--ink-soft); }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--green-deep); font-weight: 600; text-decoration: none; }

/* ---------- Start ---------- */
.welcome { background: var(--navy) var(--honeycomb) repeat; background-size: 60px 104px; position: relative; color: #fff; padding: 64px 0 150px; }
.welcome::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 35%, rgba(15,18,62,.82)); }
.welcome .wrap { position: relative; }
.welcome h1 { color: #fff; font-size: 3.1rem; line-height: 1.05; text-transform: uppercase; max-width: 15ch; }
.welcome p { max-width: 54ch; color: rgba(255,255,255,.82); font-size: 1.05rem; margin: 16px 0 0; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -110px; position: relative; }
.door {
  position: relative; display: block; min-height: 360px; border-radius: 20px; overflow: hidden;
  text-decoration: none; box-shadow: var(--sh-md); background: #fff; isolation: isolate;
}
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .5s ease; }
.door:hover img { transform: scale(1.03); }
.door .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; }
.door h2 { font-size: 1.9rem; text-transform: uppercase; line-height: 1.1; }
.door p { margin: 6px 0 0; font-size: .95rem; max-width: 44ch; }
.door .go { margin-top: 16px; }
/* Drzwi Startu (wariant B): pelne tlo, granatowy pas z tekstem na dole, oba przyciski jednakowe */
.door-docs { background: #1a1f5c; }
.door-docs, .door-photo { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.35); }
.door-docs::before { content: ""; position: absolute; inset: 0; background: var(--honeycomb) repeat; background-size: 60px 104px; opacity: .05; z-index: -1; }
.door-docs img { object-fit: contain; object-position: 50% 0; padding: 20px 40px 200px; filter: invert(1) brightness(1.15); mix-blend-mode: screen; opacity: 1; }
.door-docs .txt, .door-photo .txt { display: block; color: #fff; background: linear-gradient(transparent, rgba(15,18,62,.92) 40%); padding-top: 90px; }
.door-docs h2, .door-photo h2 { color: #fff; }
.door-docs p, .door-photo p { color: rgba(255,255,255,.86); }
.door .go, .door .go.btn-dl, .door .go.btn-line { background: #fff; border-color: #fff; color: var(--navy); min-width: 290px; }
.door:hover .go, .door:focus-visible .go { background: var(--green); border-color: var(--green); color: #fff; }
.door:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 20px; }
.news { margin: 48px auto 72px; }
.news h2 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 14px; }
.news ul { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 16px; box-shadow: var(--sh-sm); }
.news li { display: flex; gap: 18px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--hair); }
.news li:first-child { border-top: 0; }
.news time { font-family: Oswald, "Oswald zapas", sans-serif; color: var(--green-deep); min-width: 92px; }
.news li span { flex: 1; }

/* ---------- Galeria produktów (strefa marketingowa) ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hair);
  background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem; cursor: pointer;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar .count { margin-left: auto; font-size: .85rem; color: var(--ink-soft); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px 22px; margin-bottom: 80px; }
.tile { text-decoration: none; display: block; }
.tile .ph { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--paper-2); position: relative; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .ph img { transform: scale(1.04); }
.tile .n {
  position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--navy);
  font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px;
}
.tile .code { display: block; margin-top: 12px; font-family: Oswald, "Oswald zapas", sans-serif; font-size: .9rem; color: var(--green-deep); }
.tile h3 { font-size: 1.12rem; text-transform: uppercase; line-height: 1.2; margin-top: 2px; }
.tile .ph.empty { display: grid; place-items: center; background: var(--paper-2) var(--honeycomb) repeat; background-size: 30px 52px; }
.tile .ph.empty span { background: #fff; color: var(--ink-soft); font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.tile.soon h3, .tile.soon .code { opacity: .6; }

/* ---------- Lista dokumentacji ---------- */
.bulk { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.group-h { font-size: 1.15rem; text-transform: uppercase; margin: 34px 0 10px; }
.rows { background: #fff; border-radius: 16px; box-shadow: var(--sh-sm); overflow: hidden; }
.row { display: grid; grid-template-columns: 64px 110px 1fr auto; gap: 18px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--hair); }
.row:first-child { border-top: 0; }
.row:hover { background: var(--paper); }
.row img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.row .c { font-family: Oswald, "Oswald zapas", sans-serif; color: var(--green-deep); }
.row .nm b { display: block; color: var(--navy); font-weight: 600; }
.row .nm small { color: var(--ink-soft); }
.row .acts { display: flex; gap: 8px; }

/* ---------- Strona produktu ---------- */
.p-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; padding: 8px 0 34px; }
.p-hero .big { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--sh-md); }
.p-hero .big img { width: 100%; height: 100%; object-fit: cover; }
.p-hero .code { font-family: Oswald, "Oswald zapas", sans-serif; color: var(--green-deep); font-size: 1.05rem; }
.p-hero h1 { font-size: 2.5rem; line-height: 1.08; text-transform: uppercase; margin-top: 4px; }
.p-hero .en { color: var(--ink-soft); margin: 6px 0 22px; font-style: italic; }
.p-hero .sum { margin: 0 0 24px; color: var(--ink-soft); }
.p-hero .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.p-hero .sum-filmy { margin-top: -14px; font-weight: 700; }
.p-hero .sum-filmy a { color: var(--green-deep); }
.tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--hair); margin-bottom: 30px; }
.tabs a { padding: 12px 0; text-decoration: none; font-weight: 700; color: var(--ink-soft); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--navy); border-color: var(--green); }
.set { margin-bottom: 44px; }
.set-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.set-h h2 { font-size: 1.35rem; text-transform: uppercase; }
.set-h .sub { color: var(--ink-soft); font-size: .88rem; }
.set-h button { margin-left: auto; background: none; border: 0; color: var(--green-deep); font-weight: 700; font-size: .88rem; cursor: pointer; padding: 6px 0; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 172px; grid-auto-flow: dense; gap: 14px; }
.shot { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.03); }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 0 var(--green); transition: box-shadow .15s ease; pointer-events: none; }
.shot.on::after { box-shadow: inset 0 0 0 4px var(--green); }

/* Heksagon zaznaczenia - znak portalu */
.hx {
  position: absolute; top: 10px; left: 10px; width: 34px; height: 38px; border: 0; padding: 0;
  clip-path: var(--hex); background: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.hx::before { content: ""; position: absolute; inset: 3px; clip-path: var(--hex); background: rgba(15,18,62,.28); transition: background .15s ease; }
.hx svg { position: relative; color: #fff; opacity: 0; transition: opacity .15s ease; }
.shot:hover .hx::before { background: rgba(15,18,62,.5); }
.shot.on .hx::before { background: var(--green); }
.shot.on .hx svg { opacity: 1; }

/* Taca z wyborem */
.tray {
  position: fixed; left: 50%; bottom: 22px; z-index: 60;
  transform: translate(-50%, 140%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
  display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 14px;
  background: var(--navy); color: #fff; border-radius: 999px; box-shadow: 0 20px 50px rgba(15,18,62,.35);
  max-width: calc(100vw - 32px);
}
.tray.up { transform: translate(-50%, 0); }
.tray .thumbs { display: flex; }
.tray .thumbs img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 2px solid var(--navy); margin-left: -12px; }
.tray .thumbs img:first-child { margin-left: 0; }
.tray .lbl { font-weight: 700; white-space: nowrap; }
.tray .clear { background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.q { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.q button { white-space: nowrap; border: 0; background: none; color: rgba(255,255,255,.75); font-weight: 600; font-size: .82rem; padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.q button[aria-pressed="true"] { background: #fff; color: var(--navy); }

/* Podgląd */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(15,18,62,.94); display: grid; grid-template-rows: 1fr auto; padding: 24px 80px 20px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lb figure img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lb .bar { display: flex; align-items: center; gap: 16px; color: #fff; padding-top: 16px; flex-wrap: wrap; justify-content: center; }
.lb .fn { font-size: .88rem; color: rgba(255,255,255,.8); }
.lb .x, .lb .nv { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 26px; }
.lb .x { top: 18px; right: 18px; }
.lb .nv { top: 50%; transform: translateY(-50%); }
.lb .nv:hover, .lb .x:hover { background: var(--green); }
.lb .prev { left: 16px; } .lb .next { right: 16px; }
.lb .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.lb .btn-line.on { background: var(--green); border-color: var(--green); }

.mock { background: #fff8e6; border: 1px solid #f1d58a; color: #6b5512; border-radius: 10px; padding: 10px 14px; font-size: .84rem; margin: 0 0 22px; }
.foot { border-top: 1px solid var(--hair); padding: 26px 0 110px; font-size: .84rem; color: var(--ink-soft); }

/* ---------- Logowanie ---------- */
.login-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--navy) var(--honeycomb) repeat; background-size: 60px 104px; position: relative; }
.login-body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 35%, rgba(15,18,62,.82)); pointer-events: none; }
.login-wrap { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px 20px; }
.login-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; box-shadow: var(--sh-md); padding: 34px 36px 36px; position: relative; }
.login-card .lang { position: absolute; top: 14px; right: 18px; }
.login-card .logo { display: block; margin: 8px auto 22px; height: 74px; width: auto; }
.login-card h1 { font-size: 1.7rem; text-transform: uppercase; text-align: center; line-height: 1.1; }
.login-sub { color: var(--ink-soft); text-align: center; margin: 10px 0 24px; font-size: .95rem; }
.login-form { display: grid; gap: 14px; }
.login-form input { height: 48px; border-radius: 999px; border: 1px solid var(--hair); background: var(--paper); padding: 0 20px; font: inherit; font-size: .95rem; }
.login-form input:focus { outline: none; border-color: var(--green); background: #fff; }
.login-form .btn { width: 100%; height: 48px; }
.login-error { min-height: 1.4em; margin: 0; color: var(--fuchsia-deep); font-weight: 600; font-size: .88rem; text-align: center; }
.login-footer { position: relative; margin-top: 26px; font-size: .82rem; color: rgba(255,255,255,.7); text-align: center; }
.login-footer a { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html.i18n-pending body { visibility: hidden; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 1080px) {
  .find input { width: 180px; }
  .zones { gap: 18px; }
}
@media (max-width: 860px) {
  .top .wrap { height: auto; flex-wrap: wrap; gap: 10px 18px; padding-top: 10px; }
  .zones { order: 3; width: 100%; height: 46px; gap: 0; }
  .zones a { flex: 1; justify-content: center; text-align: center; font-size: .82rem; line-height: 1.2; }
  .set-h { flex-wrap: wrap; gap: 4px 12px; }
  .set-h button { margin-left: 0; width: 100%; text-align: left; }
  .tabs a { font-size: .9rem; }
  .find { display: none; }
  .top .logo img { height: 38px; }
  .doors, .p-hero { grid-template-columns: 1fr; }
  .welcome h1, .pagehead h1, .p-hero h1 { font-size: 2rem; }
  .door-docs { min-height: 430px; }
  .door-docs img { padding: 14px 20px 250px; }
  .door .go { min-width: 0; width: 100%; }
  .news li { flex-wrap: wrap; gap: 6px 14px; }
  .news li span { flex: 1 1 100%; order: 3; }
  .news li .btn { margin-left: auto; }
  .row { grid-template-columns: 56px 1fr; }
  .row .c { grid-column: 2; }
  .row img { grid-row: span 2; width: 56px; }
  .row .nm { grid-column: 2; }
  .row .acts { grid-column: 1 / -1; flex-wrap: wrap; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
  .tray { left: 10px; right: 10px; bottom: 10px; transform: translateY(140%); max-width: none;
    display: grid; grid-template-columns: 1fr auto; gap: 10px; border-radius: 18px; padding: 12px; }
  .tray.up { transform: translateY(0); }
  .tray .thumbs { display: none; }
  .tray .lbl { grid-column: 1; grid-row: 1; align-self: center; white-space: normal; }
  .tray .clear { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; padding: 6px 4px; }
  .tray .q { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .tray .btn-dl { grid-column: 1 / -1; grid-row: 3; height: auto; min-height: 44px; padding: 6px 14px; white-space: normal; text-align: center; }
  .lb { padding: 64px 12px 16px; }
  .lb .nv { top: auto; bottom: 90px; transform: none; }
  .wrap { padding: 0 16px; }
}

/* ---------- Lista dokumentacji: komunikaty, dawny kod, stan "Wkrotce" ---------- */
.code-change {
  margin: 0 0 22px; padding: 12px 16px; border-left: 4px solid var(--green); border-radius: 10px;
  background: #fff; font-weight: 700; color: var(--navy); box-shadow: var(--sh-sm);
}
.empty-state { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.row .c small.old { display: block; font-family: Montserrat, sans-serif; font-size: .74rem; color: var(--ink-soft); }
.row .acts .soon { font-size: .82rem; font-weight: 600; color: var(--ink-soft); align-self: center; }

/* ---------- Materialy marketingowe: podglad, nota wariantu, postep i blad pobierania (Zadanie 6) ---------- */
.pagehead-crumbs { padding-bottom: 10px; }
.shot .pv { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot .pv:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.p-hero .note { margin: -12px 0 18px; padding: 10px 14px; border-left: 4px solid var(--green); border-radius: 10px; background: #fff; box-shadow: var(--sh-sm); font-size: .9rem; color: var(--navy); }
.p-hero .acts [hidden] { display: none; }
.p-hero .note a { color: var(--green-deep); font-weight: 700; }
.missing { padding: 30px 0 80px; }
.missing p { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 0 0 18px; }
.tray .btn-dl:disabled, .p-hero .btn-dl:disabled { opacity: .6; cursor: progress; }
.tray .prog { position: absolute; left: 22px; right: 22px; bottom: 4px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.tray .prog[hidden] { display: none; }
.tray .prog i { display: block; height: 100%; width: 0; background: var(--green); transition: width .2s ease; }
.tray-err { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--navy); font-size: .88rem; font-weight: 600; box-shadow: var(--sh-md); border-left: 4px solid var(--navy); }
.tray-err[hidden] { display: none; }
.tray-err button { border: 1px solid var(--hair); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .82rem; cursor: pointer; }
.tray-err button:hover { border-color: var(--green); color: var(--green-deep); }
.lb .fn b { font-weight: 700; color: #fff; margin-right: 8px; }

/* ---------- Dokumentacja: karta w ramce (Marta 29.10.2026, wariant A) ---------- */
.doc-tiles { margin-bottom: 10px; }
.tile.doc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hair); border-radius: 18px;
  box-shadow: var(--sh-sm); overflow: hidden; }
.tile.doc .ph { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; cursor: zoom-in;
  background: var(--paper-2) var(--honeycomb) repeat; background-size: 30px 52px; }
.tile.doc .ph:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.tile.doc .ph:hover img { transform: scale(1.04); }
.tile.doc .body { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; }
.tile.doc .code small.old { font-family: Montserrat, sans-serif; font-size: .74rem; color: var(--ink-soft); }
.tile.doc .en { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .84rem; }
.tile.doc .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); }
.tile.doc h3 + .en { margin-bottom: 14px; }
.tile.doc .acts .soon { font-size: .82rem; font-weight: 600; color: var(--ink-soft); align-self: center; }
.lb .nv[hidden] { display: none; }
.p-hero .big img { cursor: zoom-in; }
/* Dlugie napisy przyciskow zbiorczych (FR) na telefonie: zawijaj zamiast wychodzic poza ekran (weryfikacja 29.10) */
@media (max-width: 600px) { .bulk .btn { white-space: normal; text-align: center; height: auto; min-height: 46px; padding-top: 10px; padding-bottom: 10px; max-width: 100%; } }
.p-hero .big img:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- Filmy (uwaga Uli 29.10.2026) ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-bottom: 60px; }
.vcard { position: relative; display: flex; flex-direction: column; gap: 10px; }
.vcard:hover .hx::before { background: rgba(15,18,62,.5); }
.vcard.on .hx::before { background: var(--green); }
.vcard.on .hx svg { opacity: 1; }
.vcard.on .vplay::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 4px var(--green); pointer-events: none; }
.vplay { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--navy); cursor: pointer; }
.vplay img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vplay .vico { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: var(--sh-md); }
.vplay:hover .vico { background: var(--green); color: #fff; }
.vplay:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.vplay .vtime { position: absolute; right: 10px; bottom: 10px; background: rgba(15,18,62,.82); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; }
.vcard .btn { align-self: flex-start; }
.vlb figure video { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 10px; background: #000; }
.vband { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; padding: 12px; background: #fff; border: 1px solid var(--hair);
  border-radius: 18px; box-shadow: var(--sh-sm); text-decoration: none; color: inherit; }
.vband[hidden] { display: none; }
.vband-img { width: 132px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--navy); flex: none; }
.vband-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vband-txt { display: flex; flex-direction: column; flex: 1; }
.vband-txt b { font-family: Oswald, "Oswald zapas", sans-serif; text-transform: uppercase; color: var(--navy); font-size: 1.1rem; }
.vband-txt small { color: var(--ink-soft); }
.vband:hover .btn { background: var(--navy); color: #fff; }
.pagehead .yt { color: var(--green-deep); font-weight: 700; }
@media (max-width: 600px) { .vband { flex-wrap: wrap; } .vband-img { width: 100%; } }
.vset { margin-bottom: 44px; scroll-margin-top: 125px; }

/* Daty aktualizacji: tagi na kaflach, okienko "Zobacz aktualizacje" (Marta 05.11.2026) */
.akt-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 20px); }
.akt-badge { background: var(--fuchsia); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 999px; }
/* Tag przy zdjeciu na stronie produktu: na dole, bo u gory po lewej jest heksagon zaznaczania */
.shot .akt-badges { top: auto; bottom: 36px; pointer-events: none; }
/* Data dodania pod zdjeciem (Marta 09.11.2026): pasek pod obrazkiem w tym samym kaflu mozaiki */
.shot { display: flex; flex-direction: column; }
.shot .pv { flex: 1 1 auto; min-height: 0; }
.shot-data { flex: none; height: 26px; line-height: 26px; padding: 0 10px; font-size: .75rem; color: var(--ink-soft); background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .bar .lb-data { font-size: .82rem; opacity: .8; white-space: nowrap; }
.lb .bar .lb-data:empty { display: none; }
.lb .bar .akt-badge[hidden] { display: none; }
.akt-data { display: block; margin-top: 6px; font-size: .78rem; color: var(--ink-soft); }
.akt-data.swieza { color: var(--fuchsia-deep); font-weight: 700; }

/* Przycisk w naglowku strony */
.akt-otworz { margin-top: 18px; }

/* Okienko */
.akt-tlo { position: fixed; inset: 0; z-index: 90; background: rgba(15,18,62,.55); display: grid; place-items: center; padding: 24px; }
.akt-tlo[hidden] { display: none; }
.akt-okno { width: min(760px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(15,18,62,.4); overflow: hidden; }
.akt-glowa { position: relative; padding: 26px 64px 18px 28px; border-bottom: 1px solid var(--hair); }
.akt-glowa h2 { font-size: 1.7rem; line-height: 1.15; text-transform: uppercase; color: var(--navy); margin: 0; }
.akt-glowa p { margin: 6px 0 0; color: var(--ink-soft); font-size: .92rem; }
.akt-x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.akt-x:hover { background: var(--green-pale); }
.akt-tresc { overflow-y: auto; padding: 6px 28px 20px; }
.akt-grupa { padding-top: 18px; }
.akt-grupa h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 1.02rem; color: var(--navy); margin: 0 0 10px; text-transform: none; }
.akt-grupa h3 time { color: var(--fuchsia-deep); font-family: Oswald, "Oswald zapas", sans-serif; font-weight: 500; }
.akt-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.akt-poz { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--hair); border-radius: 12px; text-decoration: none; color: var(--ink); }
.akt-poz:hover { border-color: var(--green); background: var(--paper); }
.akt-poz img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.akt-poz b { display: block; font-size: .84rem; color: var(--navy); line-height: 1.25; }
.akt-poz small { display: block; margin-top: 2px; font-size: .76rem; color: var(--green-deep); font-weight: 600; }
.akt-tekst { margin: 0; font-size: .92rem; }
.akt-stopa { display: flex; justify-content: flex-end; padding: 14px 28px; border-top: 1px solid var(--hair); }

@media (max-width: 640px) {
  .akt-tlo { padding: 0; place-items: end stretch; }
  .akt-okno { width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0; }
  .akt-glowa { padding: 20px 60px 14px 18px; }
  .akt-glowa h2 { font-size: 1.35rem; }
  .akt-tresc { padding: 4px 18px 16px; }
  .akt-lista { grid-template-columns: minmax(0, 1fr); }
  .akt-stopa { padding: 12px 18px; }
  .akt-stopa .btn { width: 100%; }
  }
@media (max-width: 860px) { .shot-data { height: 22px; line-height: 22px; font-size: .7rem; padding: 0 7px; } .shot .akt-badges { bottom: 30px; } }
/* Ramka "Dobrze wiedziec" (Marta 09.11.2026): objasnienie tagow Nowe, ma rzucac sie w oczy */
.akt-info { display: flex; gap: 14px; align-items: flex-start; max-width: 640px; margin: 16px 0 4px; padding: 14px 18px 14px 14px;
  background: var(--green-pale); border: 1px solid rgba(104, 180, 45, .35); border-left: 5px solid var(--green); border-radius: 14px;
  box-shadow: var(--sh-sm); color: var(--navy); font-size: .92rem; line-height: 1.5; }
.akt-info-ik { flex: none; width: 34px; height: 38px; clip-path: var(--hex); background: var(--green); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; font-family: Georgia, serif; font-style: italic; }
.akt-info-t { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 2px; }
.pagehead .akt-info p, .akt-info p { margin: 0; max-width: none; color: var(--navy); }
.akt-info .akt-badge { display: inline-block; font-size: .72rem; padding: 4px 8px; vertical-align: 1px; }
.p-hero .akt-info-p { margin: -8px 0 22px; }
.vplay .akt-badges { top: auto; bottom: 10px; left: 10px; pointer-events: none; }
.vcard-data { font-size: .75rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: -4px 0 -2px; }
