/* =========================================================
   NAV TAC – arkusz stylów
   Czerń / biel, przygaszony akcent, skondensowana typografia,
   HUD: siatka, scanline, ścięte narożniki, statusy operacyjne
   ========================================================= */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/barlow-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/barlow-condensed-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #050505;
  --panel: #0e0e0e;
  --panel-2: #141414;
  --ink: #f2f2ee;
  --muted: #8f8d84;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.27);
  --accent: #9a8a55;          /* przygaszone złoto – zmień tu, a zmieni się w całej stronie */
  --accent-ink: #b9a86c;
  --danger: #c0533f;
  --ok: #7c9a66;

  --header-h: 75px;
  --pad: clamp(20px, 6.9vw, 106px);
  --cut: 14px;

  --f-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
}

/* ---------------- NAGŁÓWEK ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  padding: 0 35px 0 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 46px; width: auto; }

.main-nav { margin: 0 auto; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent-ink); }
.main-nav a.active { border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.btn-admin, .btn-cart {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-admin:hover, .btn-cart:hover { background: var(--ink); color: #000; }
.cart-count {
  display: inline-block;
  min-width: 20px;
  padding: 0 5px;
  margin-left: 4px;
  text-align: center;
  background: var(--accent);
  color: #000;
  font-family: var(--f-mono);
  font-size: 11px;
}
.cart-count[data-zero="true"] { background: rgba(255, 255, 255, 0.18); color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.35); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink);
}
.nav-toggle span { top: 18px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }

/* ---------------- PRZYCISKI ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: #ececea; color: #0a0a0a; border-color: #ececea; }
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-outline { background: rgba(0, 0, 0, 0.35); color: var(--ink); border-color: rgba(255, 255, 255, 0.4); }
.btn-outline:hover { background: var(--ink); color: #0a0a0a; }
.btn-accent { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.btn-accent:hover { background: transparent; color: var(--accent-ink); }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 14px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* ZDJĘCIE TŁA  ⬇⬇⬇  ścieżka do zdjęcia w tle HERO (wartość domyślna; docelowo nadpisywana z data.js / panelu admina) */
  background-image: url("../photos/navtac-02.jpg");
  /* ZDJĘCIE TŁA  ⬆⬆⬆ */
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
  background-color: #1b1a17;
}
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.7) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
}
.scanline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -140px; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  animation: sweep 8s linear infinite;
}
@keyframes sweep { to { transform: translateY(calc(100vh + 280px)); } }

.brackets {
  background:
    linear-gradient(var(--line-2), var(--line-2)) top left / 24px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top left / 1px 24px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 24px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 1px 24px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 24px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 1px 24px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 24px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 1px 24px no-repeat;
}
.hero-frame { position: absolute; inset: 22px; pointer-events: none; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px var(--pad) 130px;
  max-width: 1000px;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(76px, 12.5vw, 190px);
  line-height: 0.86;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 26px;
}
.tagline {
  font-family: var(--f-head);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.lead { font-size: 17px; line-height: 1.75; max-width: 560px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.hud-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  padding: 14px var(--pad);
  background: rgba(0, 0, 0, 0.62);
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud-bar b { color: var(--ink); font-weight: 500; }
.hud-bar .on::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px;
  background: var(--ok); vertical-align: 1px;
}

/* baner podstron */
.hero--page { min-height: 340px; align-items: flex-end; }
.hero--page .hero-content { padding: 100px var(--pad) 46px; }
.hero--page h1 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 14px; }
.hero--page .tagline { margin-bottom: 0; font-size: clamp(16px, 1.6vw, 22px); }
.hero--page .hero-bg { background-position: center 60%; }
.crumbs {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a:hover { color: var(--accent-ink); }

/* ---------------- SEKCJE ---------------- */
.section { padding: 84px var(--pad); border-top: 1px solid var(--line); }
.section--alt { background: var(--panel); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(34px, 4.4vw, 60px); }
.tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.link-arrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: var(--accent-ink); border-color: var(--accent); }
.prose p { max-width: 68ch; color: #cfcdc4; margin-bottom: 16px; }
.prose h2 { font-size: 34px; margin: 34px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.muted { color: var(--muted); }

/* ---------------- KARTY ---------------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: border-color 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--accent); background: var(--panel-2); }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.35s ease, transform 0.6s ease; }
.card:hover .card-img img { filter: none; transform: scale(1.03); }
img.contain { object-fit: contain !important; padding: 14%; filter: none !important; }
.card-img--sq { aspect-ratio: 1 / 1; }
.card-tag {
  position: absolute; left: 0; top: 14px;
  padding: 4px 12px 4px 10px;
  background: rgba(0, 0, 0, 0.78);
  border-left: 3px solid var(--accent);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card-body { padding: 18px 20px 6px; flex: 1; }
.card-body h3 { font-size: 27px; margin-bottom: 8px; }
.card-body h3 a:hover { color: var(--accent-ink); }
.card-body p { color: #b9b7ae; font-size: 15px; margin-bottom: 14px; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.mini dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mini dd { font-family: var(--f-head); font-size: 19px; font-weight: 600; letter-spacing: 0.02em; }
.card-cta {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.card-cta:hover { background: var(--ink); color: #000; }

.price { font-family: var(--f-head); font-size: 26px; font-weight: 700; letter-spacing: 0.02em; }
.price s { font-size: 17px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.price .promo { color: var(--accent-ink); }
.badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge.ok { border-color: var(--ok); color: var(--ok); }
.badge.warn { border-color: var(--accent); color: var(--accent-ink); }
.badge.bad { border-color: var(--danger); color: var(--danger); }

/* ---------------- FILTRY / CHIPS ---------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #000; border-color: var(--ink); }
.toolbar .field { min-width: 200px; }
.toolbar .grow { flex: 1; min-width: 220px; }
.product-search { position: relative; }
.product-search-suggestions { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 320px; overflow-y: auto; border: 1px solid var(--line-2); background: #080808; box-shadow: 0 12px 30px #000b; }
.product-search-suggestions a { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.product-search-suggestions a:last-child { border-bottom: 0; }
.product-search-suggestions a:hover, .product-search-suggestions a[aria-selected="true"] { color: var(--accent-ink); background: #151515; }
.result-count { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line-2); color: var(--muted); }
.empty h3, .empty h1 { color: var(--ink); font-size: 30px; margin-bottom: 8px; }
.empty .btn { margin-top: 20px; }

/* ---------------- FORMULARZE ---------------- */
.field { display: grid; gap: 6px; }
.field label, .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--line-2);
  border-radius: 0;
  padding: 11px 12px;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
input::placeholder, textarea::placeholder { color: #5b5a54; }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #b9b7ae; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.form-msg { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--ok); background: rgba(124, 154, 102, 0.1); font-size: 14px; }
.form-msg.err { border-left-color: var(--danger); background: rgba(192, 83, 63, 0.1); }

.panel {
  position: relative;
  background-color: var(--panel);
  border: 1px solid var(--line);
  padding: 26px;
}
.panel h3, .panel h1.h3 { font-size: 28px; margin-bottom: 6px; }
.panel .tag { margin-bottom: 6px; }

/* ---------------- STRONA SZKOLENIA / WYDARZENIA ---------------- */
.spec-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--line);
  margin: -1px var(--pad) 0;
  background: var(--panel);
  position: relative;
  z-index: 4;
  transform: translateY(-1px);
}
.spec-cell { padding: 16px 20px; border-right: 1px solid var(--line); }
.spec-cell:last-child { border-right: 0; }
.spec-cell dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spec-cell dd { font-family: var(--f-head); font-size: 24px; font-weight: 600; line-height: 1.1; }
.spec-cell dd a:hover { color: var(--accent-ink); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; padding: 64px var(--pad) 90px; align-items: start; }
.detail-main > section { margin-bottom: 52px; }
.detail-main h2 { font-size: 38px; margin-bottom: 18px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 22px); }

.terms { display: grid; gap: 10px; }
.term {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; border: 1px solid var(--line); background: var(--panel);
}
.term b { font-family: var(--f-head); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.term small { display: block; color: var(--muted); font-size: 13px; }

.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0;
  font-family: var(--f-head); font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--f-mono); font-size: 20px; color: var(--accent-ink); }
.acc details[open] summary::after { content: "−"; }
.acc .acc-body { padding: 0 0 18px; color: #cfcdc4; }
.acc ul { list-style: none; }
.acc li { padding: 5px 0 5px 22px; position: relative; }
.acc li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 1px; background: var(--accent); }
.mod-no { font-family: var(--f-mono); font-size: 12px; color: var(--accent-ink); letter-spacing: 0.1em; margin-right: 12px; }

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.photos button { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.photos img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.3s, transform 0.5s; }
.photos button:hover img { filter: none; transform: scale(1.04); }

.person { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color 0.2s; }
.person:hover { border-color: var(--accent); }
.person img { width: 68px; height: 68px; object-fit: contain; padding: 10px; background: #000; border: 1px solid var(--line); flex: 0 0 auto; }
.person b { display: block; font-family: var(--f-head); font-size: 24px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.person span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent-ink); text-transform: uppercase; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.draft-note { border: 1px dashed var(--accent); color: var(--accent-ink); padding: 10px 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; margin-bottom: 20px; }

/* kadra */
.cadre-card .card-img { aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 40%, #1b1b1b, #050505); }
.cadre-card .card-img img { object-fit: cover !important; object-position: center 35%; padding: 0 !important; }
.callsign { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent-ink); text-transform: uppercase; margin-bottom: 6px; display: block; }
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; padding: 64px var(--pad) 90px; }
.profile-photo { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #1b1b1b, #050505); border: 1px solid var(--line); }
.profile-photo img { width: 100%; height: 100%; object-fit: contain; padding: 18%; }

/* ---------------- KALENDARZ ---------------- */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 18px; }
.cal-title { font-family: var(--f-head); font-size: clamp(30px, 4vw, 46px); font-weight: 700; text-transform: uppercase; min-width: 260px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { height: 40px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.cal-nav button:hover { background: var(--ink); color: #000; }
.legend { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.legend label { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.legend input { width: 16px; height: 16px; accent-color: var(--accent); }
.legend i { width: 10px; height: 10px; display: inline-block; }
.legend .l-training { background: var(--accent); }
.legend .l-event { background: var(--ink); }

.cal { border: 1px solid var(--line); background: var(--panel); }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-head div { padding: 10px 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); }
.cal-head div:first-child { border-left: 0; }
.cal-cell { min-height: 118px; padding: 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-width: 0; }
.cal-cell:nth-child(7n + 1) { border-left: 0; }
.cal-cell.out { opacity: 0.32; }
.cal-day { display: inline-block; min-width: 26px; padding: 0 4px; text-align: center; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.cal-cell.today .cal-day { color: #000; background: var(--accent); }
.cal-chip {
  display: block; margin-top: 5px; padding: 4px 7px;
  font-size: 12px; line-height: 1.25; font-weight: 600;
  background: rgba(154, 138, 85, 0.16); border-left: 3px solid var(--accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background 0.2s;
}
.cal-chip.event { background: rgba(255, 255, 255, 0.09); border-left-color: var(--ink); }
.cal-chip:hover { background: rgba(154, 138, 85, 0.34); }
.cal-chip.event:hover { background: rgba(255, 255, 255, 0.2); }

.agenda { margin-top: 40px; }
.agenda h3 { font-size: 30px; margin-bottom: 16px; }
.agenda-row {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 8px;
  transition: border-color 0.2s;
}
.agenda-row:hover { border-color: var(--accent); }
.agenda-row time { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; }
.agenda-row b { font-family: var(--f-head); font-size: 23px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.agenda-row small { display: block; color: var(--muted); }

/* ---------------- SKLEP ---------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding: 56px var(--pad) 70px; align-items: start; }
.gallery-main { aspect-ratio: 1 / 1; background: #000; border: 1px solid var(--line); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main img.contain { padding: 12%; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { aspect-ratio: 1 / 1; background: #000; border: 1px solid var(--line); overflow: hidden; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs img.contain { padding: 10%; }
.pdp-info h1 { font-size: clamp(38px, 4.6vw, 62px); margin-bottom: 14px; }
.pdp-info .price { font-size: 38px; margin: 6px 0 4px; }
.opt-label { display: block; margin: 22px 0 8px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant {
  min-width: 56px; padding: 9px 16px; border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.variant:hover { border-color: var(--ink); }
.variant.on { background: var(--ink); color: #000; border-color: var(--ink); }
.variant[disabled] { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.buy-row .btn { flex: 1; min-width: 200px; height: 48px; }
.qty { display: inline-flex; border: 1px solid var(--line-2); }
.qty button { width: 40px; height: 46px; font-size: 18px; transition: background 0.2s; }
.qty button:hover { background: var(--ink); color: #000; }
.qty input { width: 54px; height: 46px; border: 0; text-align: center; padding: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-table th { width: 42%; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding-right: 16px; }
.info-box { border: 1px solid var(--line); padding: 16px 18px; margin-top: 22px; font-size: 14.5px; color: #cfcdc4; }
.info-box b { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); display: block; margin-bottom: 6px; font-weight: 500; }

/* koszyk / checkout */
.cart-wrap, .checkout-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; padding: 56px var(--pad) 90px; align-items: start; }
.cart-line {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line img { width: 96px; height: 96px; object-fit: cover; background: #000; border: 1px solid var(--line); }
.cart-line img.contain { padding: 10px; }
.cart-line h3 { font-size: 24px; }
.cart-line small { color: var(--muted); display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; }
.cart-line .line-total { font-family: var(--f-head); font-size: 24px; font-weight: 700; min-width: 100px; text-align: right; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line-2); transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--danger); border-color: var(--danger); }
.summary { position: sticky; top: calc(var(--header-h) + 22px); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum-row.total { border-bottom: 0; padding-top: 16px; font-family: var(--f-head); font-size: 32px; font-weight: 700; text-transform: uppercase; }
.sum-row span:first-child { color: #b9b7ae; }
.sum-row.total span:first-child { color: var(--ink); }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: #cfcdc4; }
.sum-line small { color: var(--muted); display: block; }
.coupon { display: flex; gap: 8px; margin: 16px 0 6px; }
.coupon input { flex: 1; text-transform: uppercase; }
.radio-list { display: grid; gap: 8px; }
.radio {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line-2); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.radio:hover { border-color: var(--ink); }
.radio:has(input:checked) { border-color: var(--accent); background: rgba(154, 138, 85, 0.1); }
.radio input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.radio span { flex: 1; }
.radio small { display: block; color: var(--muted); font-size: 13px; }
.radio b { font-family: var(--f-head); font-size: 20px; font-weight: 600; white-space: nowrap; }
.checkout-wrap fieldset { border: 0; margin-bottom: 34px; }
.checkout-wrap legend { font-family: var(--f-head); font-size: 30px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.demo-note { border: 1px dashed var(--accent); padding: 12px 16px; color: var(--accent-ink); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.05em; line-height: 1.6; margin-bottom: 20px; }

.status-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 24px; }
.order-id { font-family: var(--f-mono); letter-spacing: 0.1em; color: var(--accent-ink); }

/* ---------------- MEDIA / LIGHTBOX ---------------- */
.masonry { columns: 3 280px; column-gap: 12px; }
.masonry button { display: block; width: 100%; margin-bottom: 12px; position: relative; background: #000; overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; height: auto; filter: grayscale(1); transition: filter 0.3s, transform 0.5s; }
.masonry button:hover img { filter: none; transform: scale(1.02); }
.masonry figcaption, .masonry .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transition: opacity 0.25s;
}
.masonry button:hover .cap, .masonry button:focus-visible .cap { opacity: 1; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.strip button { aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.3s, transform 0.5s; }
.strip button:hover img { filter: none; transform: scale(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.95); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox .lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 1px solid var(--line-2); font-size: 22px; background: rgba(0, 0, 0, 0.5); transition: background 0.2s, color 0.2s; }
.lightbox button:hover { background: var(--ink); color: #000; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------------- PARTNERZY / NEWSLETTER ---------------- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 130px; padding: 18px; text-align: center;
  border: 1px solid var(--line); background: var(--panel); transition: border-color 0.2s;
}
.partner:hover { border-color: var(--accent); }
.partner b { font-family: var(--f-head); font-size: 24px; text-transform: uppercase; letter-spacing: 0.06em; }
.partner span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.cta-line { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; color: #b9b7ae; }
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(34px, 4.4vw, 60px); }
.nl-form { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; }

/* ---------------- STOPKA ---------------- */
.site-footer { border-top: 1px solid var(--line); background: #030303; padding: 60px var(--pad) 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid img { height: 56px; margin-bottom: 14px; }
.foot-grid p { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent-ink); margin-bottom: 14px; font-weight: 500; }
.foot-grid li { margin-bottom: 8px; font-size: 14.5px; }
.foot-grid a:hover { color: var(--accent-ink); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.legal-certification { display: flex; align-items: center; gap: 12px; }
.legal-certification img { display: block; width: 150px; height: auto; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translateX(-50%);
  padding: 13px 22px; background: var(--ink); color: #000;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  border-left: 4px solid var(--accent);
}
.toast.err { border-left-color: var(--danger); }

/* ---------------- RESPONSYWNOŚĆ ---------------- */
@media (max-width: 1440px) {
  .site-header { padding: 0 20px 0 24px; gap: 14px; }
  .nav-toggle { display: block; }
  .btn-panel { display: none; }
  .nav-admin-link { display: list-item; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: rgba(5, 5, 5, 0.98); border-bottom: 1px solid var(--line);
    padding: 10px 24px 24px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 15px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 1100px) {
  .detail, .profile, .pdp { grid-template-columns: 1fr; gap: 40px; }
  .cart-wrap, .checkout-wrap { grid-template-columns: 1fr; }
  .detail-side, .summary { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .spec-bar { margin: -1px 20px 0; }
}
@media (max-width: 800px) {
  .section { padding: 60px var(--pad); }
  .hero-content { padding: 60px var(--pad) 150px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 76px minmax(0, 1fr) auto; }
  .cart-line img { width: 76px; height: 76px; }
  .cart-line .qty { grid-column: 2; }
  .cart-line .line-total { grid-column: 3; grid-row: 2; }
  .cart-line .icon-btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .cal-cell { min-height: 62px; padding: 5px 3px; }
  .cal-day { font-size: 11px; }
  .cal-chip { font-size: 0; height: 6px; padding: 0; margin-top: 3px; }
  .cal-head div { padding: 8px 2px; text-align: center; font-size: 10px; letter-spacing: 0.04em; }
  .agenda-row { grid-template-columns: 1fr; gap: 6px; }
  .legend { margin-left: 0; }
  .lightbox { padding: 60px 12px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scanline::after { animation: none; display: none; }
  * { transition: none !important; }
}


/* =========================================================
   DODATKI – wersja z backendem
   ========================================================= */
.flash-wrap { padding: 16px var(--pad) 0; display: grid; gap: 8px; }
.flash-wrap .form-msg { margin: 0; }
.crumb-bar { padding: 28px var(--pad) 0; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant { position: relative; cursor: pointer; }
.variant:has(input:checked) { background: var(--ink); color: #000; border-color: var(--ink); }
.variant:has(input:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.variant.off { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.variant small { opacity: 0.7; }
.qty-form { margin: 0; }
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1441px) { .site-header .btn-panel { display: inline-block; } }
@media (min-width: 1441px) { .nav-admin-link { display: none; } }

/* ---------------- COOKIE CONSENT ---------------- */
.cookie-banner { position: fixed; z-index: 150; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border: 1px solid var(--line-2); border-left: 4px solid var(--accent); background: #101110; box-shadow: 0 12px 50px rgba(0, 0, 0, .55); }
.cookie-banner[hidden] { display: none; }
.cookie-copy { max-width: 680px; }
.cookie-copy strong { font-family: var(--f-head); font-size: 22px; text-transform: uppercase; }
.cookie-copy p, .cookie-dialog p { margin-top: 5px; color: #c5c3ba; font-size: 14px; line-height: 1.55; }
.cookie-copy a, .cookie-dialog a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-actions .btn { min-height: 42px; }
.cookie-settings-link { display: inline; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--line-2); color: var(--ink); background: #101110; }
.cookie-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.cookie-dialog-inner { position: relative; display: grid; gap: 16px; padding: 30px; }
.cookie-dialog-inner h2 { font-family: var(--f-head); font-size: 36px; text-transform: uppercase; }
.cookie-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 1px solid var(--line); font-size: 25px; }
@media (max-width: 760px) {
  /* na telefonie baner jest niski i przyklejony do dołu – nie zasłania pierwszego ekranu */
  .cookie-banner { left: 0; right: 0; bottom: 0; align-items: stretch; flex-direction: column; gap: 10px; padding: 12px 14px;
                   border-left: 0; border-top: 3px solid var(--accent); }
  .cookie-copy strong { font-size: 17px; }
  .cookie-copy p { font-size: 12.5px; line-height: 1.4; }
  .cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cookie-actions .btn { width: 100%; min-height: 38px; padding: 8px 4px; font-size: 11px; white-space: normal; }
  .cookie-dialog-inner { padding: 24px 18px; }
  .partner-directory { grid-template-columns: 1fr; }
}

/* ---------------- KATALOG PARTNERÓW ---------------- */
.partner-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); }
.partner-main h2 { margin: 12px 0 24px; font-family: var(--f-head); font-size: 38px; text-transform: uppercase; }
.partner-directory { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.partner-entry { display: grid; grid-template-columns: clamp(96px, 24%, 170px) minmax(0, 1fr); align-items: center; justify-content: stretch; gap: clamp(12px, 2vw, 22px); min-height: 196px; padding: clamp(14px, 2vw, 22px); text-align: left; }
.partner-entry--no-logo { grid-template-columns: minmax(0, 1fr); }
.partner-entry__logo { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 1px solid var(--line); background: #050505; }
.partner-entry__logo img { display: block; width: 100%; height: 100%; padding: 6px; box-sizing: border-box; object-fit: contain; }
.partner-entry__copy { min-width: 0; }
.partner-entry__copy b { display: block; }
.partner-entry__copy p { max-width: 52ch; margin: 8px 0 0; color: #c5c3ba; line-height: 1.55; }
.partner-entry__copy > a { display: inline-block; margin-top: 12px; color: var(--accent-ink); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.partner-carousel__viewport { overflow: hidden; }
.partner-carousel__track { display: flex; transition: transform 700ms cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.partner-carousel__slide { flex: 0 0 100%; min-width: 0; }
.partner-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.partner-carousel__button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); color: var(--ink); background: transparent; font-size: 19px; cursor: pointer; }
.partner-carousel__button:hover, .partner-carousel__button:focus-visible { border-color: var(--accent); color: var(--accent-ink); }
.partner-carousel__count { min-width: 48px; color: var(--muted); font-family: var(--f-mono); font-size: 11px; text-align: center; }
@media (max-width: 1100px) { .partner-layout { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .partner-layout { padding-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .partner-carousel__track { transition: none; } }
/* ---------------- PANEL ADMINA ---------------- */
.adm-login { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #161616, #050505); }
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.adm-side { background: #030303; border-right: 1px solid var(--line); padding: 20px 0; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adm-brand { display: flex; align-items: center; gap: 12px; padding: 0 20px 20px; border-bottom: 1px solid var(--line); }
.adm-brand img { height: 40px; }
.adm-brand span { font-family: var(--f-head); font-size: 22px; font-weight: 700; line-height: 1; }
.adm-brand small { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); font-weight: 400; margin-top: 4px; }
.adm-side nav { padding: 14px 0; flex: 1; }
.adm-side nav a { display: block; padding: 9px 20px; font-size: 13.5px; letter-spacing: 0.04em; border-left: 3px solid transparent; color: #cfcdc4; }
.adm-menu-search { display: block; margin: 14px 20px 6px; color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.adm-menu-query { margin: 0 20px; width: calc(100% - 40px); padding: 9px 10px; font-size: 13px; }
.adm-menu-empty { padding: 9px 20px; color: var(--muted); font-size: 12px; }
.adm-side nav a:hover { color: var(--ink); background: #0c0c0c; }
.adm-side nav a.on { border-left-color: var(--accent); color: var(--ink); background: #101010; }
.adm-user { padding: 16px 20px 0; border-top: 1px solid var(--line); font-size: 12.5px; display: grid; gap: 6px; }
.adm-user b { word-break: break-all; }
.adm-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); }
.adm-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { position: relative; flex: 0 0 48px; width: 48px; height: 26px; border: 1px solid var(--line-2); background: #252525; transition: background .2s, border-color .2s; }
.switch-track::after { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; content: ""; background: #c5c3ba; transition: transform .2s, background .2s; }
.adm-switch input:checked + .switch-track { border-color: var(--accent); background: var(--accent); }
.adm-switch input:checked + .switch-track::after { transform: translateX(22px); background: #080808; }
.adm-switch input:focus-visible + .switch-track { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.adm-user span { color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.adm-user a, .adm-user button { color: var(--accent-ink); text-align: left; font-size: 12.5px; }
.adm-main { padding: 34px clamp(20px, 3vw, 44px) 80px; min-width: 0; }
.adm-h { font-size: 40px; margin-bottom: 20px; }
.adm-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; }
.stat span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; }
.stat b { font-family: var(--f-head); font-size: 38px; font-weight: 700; line-height: 1.1; }
.adm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; padding: 10px 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); white-space: nowrap; font-weight: 400; }
.adm-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table td.cell { max-width: 320px; overflow-wrap: anywhere; }
.adm-table tr:hover td { background: #0c0c0c; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.acts form { margin: 0; }
.chip.danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.inline-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.inline-form select { padding: 7px 30px 7px 10px; }
.adm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; }
.adm-form .full { grid-column: 1 / -1; }
.adm-form textarea { min-height: 90px; font-family: var(--f-mono); font-size: 13px; }
.img-row { display: flex; gap: 14px; align-items: flex-start; }
.img-row > div { flex: 1; }
.img-prev { width: 96px; height: 72px; object-fit: cover; border: 1px solid var(--line); background: #000; }
.enrollment-list { display: grid; gap: 12px; }
.enrollment-card { padding: 18px; }
.enrollment-main { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.enrollment-main h2 { font-size: 26px; margin: 8px 0 4px; }
.enrollment-main p, .enrollment-main a { color: var(--muted); overflow-wrap: anywhere; }
.enrollment-main a:hover { color: var(--accent-ink); text-decoration: underline; }
.enrollment-status { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.enrollment-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.enrollment-meta span { min-width: 0; overflow-wrap: anywhere; }
.enrollment-meta b { display: block; color: var(--muted); font: 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.enrollment-note { margin-top: 14px; color: var(--muted); }
.enrollment-note summary { cursor: pointer; }
.enrollment-note p { margin-top: 8px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; }
@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; }
  .adm-form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .enrollment-main { flex-direction: column; }
  .enrollment-status { justify-content: flex-start; }
  .enrollment-meta { grid-template-columns: 1fr; gap: 10px; }
}

/* dokumenty prawne (regulamin, polityka prywatności) */
.legal h2 { margin: 34px 0 12px; font-size: clamp(22px, 2.4vw, 30px); }
.legal p, .legal li { line-height: 1.7; color: var(--ink); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 18px 20px; list-style: disc; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }

/* pułapka na boty w formularzach (honeypot) – poza ekranem, niewidoczna dla ludzi i czytników ekranu */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* podpowiedź literówki w e-mailu i przycisk w trakcie wysyłania formularza */
.email-hint { display: block; margin-top: 6px; color: var(--accent-ink); font-size: 13px; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.is-busy { opacity: .6; pointer-events: none; cursor: progress; }
.guest-box { display: grid; gap: 4px; margin-bottom: 18px; }
.guest-box .muted { font-size: 13.5px; }
/* panel: usuwanie z potwierdzeniem hasłem */
.del-pw { display: inline-block; position: relative; }
.del-pw > summary { list-style: none; cursor: pointer; }
.del-pw > summary::-webkit-details-marker { display: none; }
.del-pw-form { display: grid; gap: 8px; margin-top: 8px; padding: 12px; min-width: 240px; border: 1px solid var(--line-2); background: var(--bg-2, #141614); }
.del-pw-label { display: grid; gap: 4px; font-size: 13px; }
.bulk-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
/* postęp zamówienia na stronie klienta */
.order-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; padding: 0; list-style: none; counter-reset: step; }
.order-steps li { flex: 1 1 110px; padding: 8px 10px; border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
.order-steps li::before { counter-increment: step; content: counter(step) ". "; }
.order-steps li.done { border-color: var(--accent); color: var(--ink); }
.order-steps li.now { background: rgba(200, 162, 74, .12); font-weight: bold; }
/* panel: wykres statystyk odwiedzin */
.stats-chart { display: flex; align-items: flex-end; gap: 3px; height: 180px; margin-top: 14px; }
.stats-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.stats-bar span { display: block; width: 100%; min-height: 2px; background: var(--accent); }
.stats-bar small { margin-top: 4px; font-size: 10px; color: var(--muted); }
.invoice-box { margin: 6px 0; } .invoice-box > summary { cursor: pointer; font-size: 14px; color: var(--accent-ink); }
.invoice-box .form-grid { margin-top: 10px; }
