/* =====================================================================
   LenoLinks – arkusz stylów
   Paleta wywiedziona z logo: granat #0A0F20, cyjan #00D6EB, biel.
   ===================================================================== */

@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2-variations'), url(../fonts/archivo-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin.woff2) format('woff2-variations'), url(../fonts/archivo-latin.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: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(../fonts/jetbrains-mono-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(../fonts/jetbrains-mono-latin.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; }

:root {
  /* granaty z tła logo */
  --ink-950: #0A0F20;
  --ink-900: #0E1528;
  --ink-850: #111A31;
  --ink-800: #16203A;
  --ink-700: #1E2A49;
  --line: #24314F;
  --line-soft: rgba(150, 172, 214, .13);
  /* sygnał – cyjan z logo */
  --signal: #00D6EB;
  --signal-hi: #5CE8F6;
  --signal-lo: #00A9BC;
  --signal-ink: #03141B;
  --signal-glow: rgba(0, 214, 235, .28);
  /* tekst */
  --text: #E9EFF8;
  --text-2: #A9B5CB;
  --text-3: #7F8CA6;
  /* płytka zdjęć – identyczna z tłem zdjęć produktów */
  --plate: #D9D9DA;
  --plate-ink: #1A1F2B;
  /* stany */
  --ok: #3DDC97;
  --warn: #FFB547;
  --err: #FF6B7A;
  /* typografia */
  --f-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* skala 1.25 */
  --t-xs: .78rem; --t-sm: .875rem; --t-md: 1rem; --t-lg: 1.25rem; --t-xl: 1.5625rem; --t-2xl: 1.953rem; --t-3xl: 2.441rem; --t-4xl: 3.052rem; --t-5xl: 3.815rem;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px;
  --wrap: 1320px; --gut: 24px;
  --hdr-h: 72px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--ink-950); color: var(--text); font-family: var(--f-sans); font-size: var(--t-md); line-height: 1.55; font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(0, 214, 235, .5); text-underline-offset: 3px; }
a:hover { color: var(--signal-hi); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--signal); color: var(--signal-ink); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (max-width: 720px) { :root { --gut: 16px; } }

/* ---------- typografia ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.01em; font-weight: 760; }
.display { font-stretch: 125%; font-weight: 800; letter-spacing: -.025em; line-height: .98; }
.h1 { font-size: clamp(2.2rem, 4.6vw + .6rem, var(--t-5xl)); }
.h2 { font-size: clamp(1.7rem, 2.4vw + .7rem, var(--t-3xl)); font-stretch: 118%; font-weight: 780; letter-spacing: -.02em; }
.h3 { font-size: var(--t-xl); font-stretch: 110%; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, .6vw + .9rem, 1.25rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.small { font-size: var(--t-sm); }
.mono, .pn { font-family: var(--f-mono); font-feature-settings: 'zero' 1; letter-spacing: 0; }
.prose { max-width: 74ch; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: var(--t-2xl); margin-top: 2em; font-stretch: 112%; }
.prose h3 { color: var(--text); font-size: var(--t-lg); margin-top: 1.6em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--signal); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- przyciski ---------- */
.btn { --bg: var(--ink-800); --fg: var(--text); --bd: var(--line); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font-weight: 650; font-size: var(--t-md); text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .08s; white-space: nowrap; }
.btn:hover { --bd: #3a4a70; color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --bg: var(--signal); --fg: var(--signal-ink); --bd: var(--signal); font-weight: 750; }
.btn-primary:hover { --bg: var(--signal-hi); --bd: var(--signal-hi); }
.btn-ghost { --bg: transparent; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--t-sm); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; }
.link-quiet { color: var(--text-2); text-decoration: none; }
.link-quiet:hover { color: var(--text); }

/* ---------- pasek informacyjny ---------- */
.topbar { background: #070B18; border-bottom: 1px solid var(--line-soft); font-size: var(--t-xs); color: var(--text-2); }
.topbar .wrap { display: flex; gap: 22px; align-items: center; min-height: 34px; overflow-x: auto; scrollbar-width: none; }
.topbar .wrap::-webkit-scrollbar { display: none; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; color: var(--signal); }
.topbar .tb-right { margin-left: auto; display: flex; gap: 18px; }
.topbar a { text-decoration: none; }

/* ---------- nagłówek ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 32, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.hdr .wrap { display: flex; align-items: center; gap: 22px; height: var(--hdr-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav > .dd > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--text-2); font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav > .dd > button:hover, .nav > a[aria-current='page'] { color: var(--text); background: var(--ink-800); }
.nav svg { width: 14px; height: 14px; }
.hdr-search { flex: 1; min-width: 0; position: relative; }
.hdr-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--ink-800); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.cart-btn:hover { border-color: var(--signal-lo); color: var(--text); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn .badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.cart-btn .badge[hidden] { display: none; }
.vat-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--ink-900); }
.vat-toggle button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font-size: var(--t-xs); font-weight: 700; color: var(--text-3); cursor: pointer; }
.vat-toggle button[aria-pressed='true'] { background: var(--ink-700); color: var(--text); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; background: var(--ink-800); border: 1px solid var(--line); place-items: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* mega menu */
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -16px; width: min(880px, 92vw); background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.75); padding: 22px; display: none; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 26px; }
.dd.open .dd-panel { display: grid; }
.dd-panel h3 { font-size: var(--t-xs); color: var(--text-3); font-weight: 700; letter-spacing: .02em; margin: 0 0 10px; }
.dd-speed a { display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; border-radius: var(--r-sm); text-decoration: none; }
.dd-speed a:hover { background: var(--ink-800); color: var(--text); }
.dd-speed b { font-stretch: 125%; font-weight: 800; min-width: 3.4em; font-size: 1.05rem; }
.dd-speed span { color: var(--text-2); font-size: var(--t-sm); }
.dd-brands { columns: 2; column-gap: 12px; }
.dd-brands a { display: block; padding: 5px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--text-2); font-size: var(--t-sm); break-inside: avoid; }
.dd-brands a:hover { background: var(--ink-800); color: var(--text); }
.dd-tools a { display: block; padding: 12px; border-radius: var(--r-md); text-decoration: none; border: 1px solid var(--line-soft); margin-bottom: 10px; }
.dd-tools a:hover { border-color: var(--signal-lo); color: var(--text); }
.dd-tools b { display: block; }
.dd-tools span { color: var(--text-2); font-size: var(--t-sm); }

/* ---------- wyszukiwarka numerów części ---------- */
.search { position: relative; }
.search-field { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--ink-900); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.search-field:focus-within { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(0, 214, 235, .12); }
.search-field svg { width: 18px; height: 18px; color: var(--text-3); flex: none; }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: .95rem; }
.search-field input::placeholder { color: var(--text-3); }
.search-field kbd { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.search-xl .search-field { height: 64px; padding-left: 22px; padding-right: 8px; border-radius: 999px; background: #0B1122; border-color: #2A3962; }
.search-xl .search-field input { font-size: 1.12rem; font-family: var(--f-mono); }
.search-xl .search-field input::placeholder { font-family: var(--f-sans); }
.search-xl .search-field svg { width: 22px; height: 22px; color: var(--signal); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); padding: 8px; max-height: min(70vh, 560px); overflow: auto; }
.search-results[hidden] { display: none; }
.sr-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-md); text-decoration: none; }
.sr-item:hover, .sr-item[aria-selected='true'] { background: var(--ink-800); color: var(--text); }
.sr-item img { width: 52px; height: 52px; border-radius: 8px; background: var(--plate); object-fit: cover; }
.sr-item .sr-pn { font-family: var(--f-mono); font-weight: 600; font-size: .95rem; }
.sr-item .sr-pn mark { background: rgba(0, 214, 235, .22); color: var(--text); border-radius: 3px; padding: 0 1px; }
.sr-item .sr-sub { color: var(--text-2); font-size: var(--t-sm); display: block; line-height: 1.35; }
.sr-item .sr-price { font-weight: 700; text-align: right; font-size: var(--t-sm); white-space: nowrap; }
.sr-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 10px 4px; border-top: 1px solid var(--line-soft); margin-top: 6px; font-size: var(--t-sm); color: var(--text-2); }
.sr-empty { padding: 18px; color: var(--text-2); }

/* ---------- mobile nav ---------- */
.mnav { position: fixed; inset: 0; z-index: 90; background: rgba(5, 8, 18, .7); display: none; }
.mnav.open { display: block; }
.mnav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--ink-900); border-left: 1px solid var(--line); padding: 20px; overflow-y: auto; }
.mnav-panel a { display: block; padding: 12px 6px; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-weight: 600; }
.mnav-panel h3 { font-size: var(--t-xs); color: var(--text-3); margin: 22px 0 6px; }
.mnav-close { float: right; width: 42px; height: 42px; border-radius: 999px; background: var(--ink-800); border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 720px) {
  .hdr .wrap { gap: 10px; flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 32px; }
  .hdr-search { order: 3; flex-basis: 100%; }
  .hdr-tools { margin-left: auto; }
  .vat-toggle { display: none; }
  .topbar .tb-right { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(0, 214, 235, .10), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; max-width: 14ch; font-size: clamp(2.2rem, 4.2vw + .5rem, 3.55rem); }
.hero .lead { margin-bottom: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.hero-chips > span { color: var(--text-3); font-size: var(--t-sm); margin-right: 4px; }
.qchip { font-family: var(--f-mono); font-size: var(--t-sm); padding: 6px 12px; border-radius: 999px; background: var(--ink-850); border: 1px solid var(--line); text-decoration: none; color: var(--text-2); cursor: pointer; }
.qchip:hover { border-color: var(--signal-lo); color: var(--text); }
.hero-visual { position: relative; }
.hero-plate { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-xl); background: var(--plate); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 214, 235, .35), 0 0 0 1px rgba(255,255,255,.06); }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-fiber { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.hero-fiber .core { fill: none; stroke: rgba(0, 214, 235, .30); stroke-width: 2; }
.hero-fiber .pulse { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60 1400; stroke-dashoffset: 1460; filter: drop-shadow(0 0 6px var(--signal)); animation: pulse 3.6s cubic-bezier(.55, .1, .35, 1) infinite; }
.hero-fiber .pulse.p2 { animation-delay: 1.8s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.hero-readout { position: absolute; right: 18px; bottom: 18px; display: grid; grid-template-columns: auto auto; gap: 2px 14px; padding: 12px 14px; background: rgba(10, 15, 32, .88); border: 1px solid rgba(0, 214, 235, .35); border-radius: var(--r-md); font-family: var(--f-mono); font-size: 12px; color: var(--text-2); }
.hero-readout b { color: var(--signal); font-weight: 600; text-align: right; }
.hero-readout .t { grid-column: 1 / -1; color: var(--text); font-family: var(--f-sans); font-weight: 700; font-size: 12px; margin-bottom: 4px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-visual { max-width: 520px; width: 100%; } .hero { padding-top: 40px; } }

/* ---------- sekcje ---------- */
.sec { padding: 88px 0; }
.sec-tight { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line-soft); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head p { margin: 0; color: var(--text-2); max-width: 58ch; }
.sec-head h2 { margin: 0 0 10px; }

/* drabina prędkości */
.speeds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speed { position: relative; display: block; padding: 26px 18px 24px; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s; }
.speed:last-child { border-right: 0; }
.speed:hover { background: linear-gradient(180deg, rgba(0, 214, 235, .07), transparent); color: var(--text); }
.speed::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.speed:hover::after { transform: scaleX(1); }
.speed .v { display: block; font-size: clamp(2rem, 3.6vw, 3.4rem); font-stretch: 125%; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.speed .v small { font-size: .42em; font-weight: 700; letter-spacing: 0; margin-left: 2px; color: var(--text-2); }
.speed .ff { display: block; margin-top: 12px; font-weight: 700; }
.speed .cnt { display: block; color: var(--text-2); font-size: var(--t-sm); }
.speed img { width: 100%; max-width: 150px; margin-top: 16px; border-radius: var(--r-md); background: var(--plate); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 1000px) { .speeds { grid-template-columns: repeat(3, 1fr); } .speed:nth-child(3) { border-right: 0; } .speed:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .speeds { grid-template-columns: repeat(2, 1fr); } .speed { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); } .speed:nth-child(2n) { border-right: 0 !important; } .speed img { display: none; } }

/* marki */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.brand { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 110px; padding: 18px 18px 16px; background: var(--ink-950); text-decoration: none; transition: background .2s; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.brand:hover { background: var(--ink-850); color: var(--text); }
.brand b { font-size: 1.25rem; font-stretch: 112%; font-weight: 750; letter-spacing: -.01em; }
.brand span { color: var(--text-2); font-size: var(--t-sm); }
.brand.top b { font-size: 1.5rem; }
.brand .bar { height: 3px; border-radius: 3px; background: var(--ink-700); margin-top: 10px; overflow: hidden; }
.brand .bar i { display: block; height: 100%; background: var(--signal-lo); }

/* ---------- karta produktu ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--ink-900); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, transform .2s; }
.pcard:hover { border-color: #33466F; }
.pcard .plate { position: relative; display: block; background: var(--plate); aspect-ratio: 1; }
.pcard .plate img { width: 100%; height: 100%; object-fit: cover; }
.pcard .code { position: absolute; left: 12px; top: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 9px 4px 6px; border-radius: 999px; background: rgba(255, 255, 255, .82); color: var(--plate-ink); font-size: 11px; font-weight: 700; }
.swatch { width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .25); flex: none; display: inline-block; }
.pcard .body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.pcard .brandline { font-size: var(--t-xs); color: var(--text-2); }
.pcard .pn { font-size: 1.02rem; font-weight: 650; line-height: 1.25; word-break: break-word; text-decoration: none; }
.pcard .pn::after { content: ''; position: absolute; inset: 0; }
.pcard .name { font-size: var(--t-sm); color: var(--text-2); line-height: 1.35; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--ink-800); color: var(--text-2); border: 1px solid var(--line-soft); white-space: nowrap; }
.pcard .foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price .main { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price .alt { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.price .from { font-size: 12px; color: var(--text-2); font-weight: 600; }
.add { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--signal-lo); background: rgba(0, 214, 235, .1); color: var(--signal); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.add:hover { background: var(--signal); color: var(--signal-ink); }
.add svg { width: 20px; height: 20px; }
.add.done { background: var(--ok); border-color: var(--ok); color: var(--signal-ink); }

/* widok tabeli */
.ptable { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.ptable th { text-align: left; font-size: var(--t-xs); color: var(--text-3); font-weight: 700; padding: 10px 10px; border-bottom: 1px solid var(--line); background: var(--ink-950); }
.ptable td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.ptable tr:hover td { background: var(--ink-900); }
.ptable .t-pn a { font-family: var(--f-mono); font-weight: 600; text-decoration: none; }
.ptable .t-img img { width: 44px; height: 44px; border-radius: 8px; background: var(--plate); }
.ptable .t-price { text-align: right; font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- sklep (katalog) ---------- */
.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 28px; padding-bottom: 80px; }
.filters { position: sticky; top: calc(var(--hdr-h) + 16px); max-height: calc(100vh - var(--hdr-h) - 32px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.fgroup { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.fgroup > button { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; font-weight: 700; font-size: var(--t-sm); cursor: pointer; color: var(--text); }
.fgroup > button svg { width: 14px; height: 14px; transition: transform .2s; }
.fgroup[data-closed] > button svg { transform: rotate(-90deg); }
.fgroup[data-closed] .fopts { display: none; }
.fopts { margin-top: 10px; display: grid; gap: 2px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 6px; border-radius: 8px; cursor: pointer; font-size: var(--t-sm); color: var(--text-2); }
.fopt:hover { background: var(--ink-900); color: var(--text); }
.fopt input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #3A4A70; margin: 0; flex: none; display: grid; place-items: center; background: var(--ink-900); }
.fopt input:checked { background: var(--signal); border-color: var(--signal); }
.fopt input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--signal-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.fopt .c { margin-left: auto; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fopt[data-zero] { opacity: .45; }
.fsearch { width: 100%; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--ink-900); padding: 0 10px; font-size: var(--t-sm); margin-bottom: 6px; }
.fopts.brands-list { max-height: 300px; overflow: auto; }
.shopbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.shopbar .count { color: var(--text-2); font-size: var(--t-sm); }
.shopbar .grow { flex: 1; }
.select { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-900); padding: 0 34px 0 14px; font-size: var(--t-sm); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B5CB' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; cursor: pointer; }
.viewtog { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.viewtog button { width: 34px; height: 32px; border-radius: 999px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--text-3); }
.viewtog button[aria-pressed='true'] { background: var(--ink-700); color: var(--text); }
.viewtog svg { width: 16px; height: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.af { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; border: 1px solid var(--signal-lo); background: rgba(0, 214, 235, .08); font-size: 12px; cursor: pointer; color: var(--text); }
.af svg { width: 12px; height: 12px; }
.af-clear { background: none; border: 0; color: var(--text-2); font-size: 12px; text-decoration: underline; cursor: pointer; }
.more { display: flex; justify-content: center; margin-top: 28px; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--text-2); }
.filters-toggle { display: none; }
.shop-intro { padding-top: 36px; }
.shop-intro h1 { margin-bottom: 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--t-sm); color: var(--text-3); margin-bottom: 14px; list-style: none; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--text-2); }
@media (max-width: 960px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 95; width: min(360px, 90vw); max-height: none; background: var(--ink-900); border-right: 1px solid var(--line); padding: 20px; transform: translateX(-102%); transition: transform .25s; }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .filters-close { display: inline-flex !important; }
}
.filters-close { display: none !important; }

/* ---------- strona produktu ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 24px 0 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--hdr-h) + 20px); }
.gallery .plate { position: relative; border-radius: var(--r-xl); background: var(--plate); overflow: hidden; aspect-ratio: 1; }
.gallery .plate img { width: 100%; height: 100%; object-fit: cover; }
.gallery .note { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.pinfo .compat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(0, 214, 235, .09); border: 1px solid rgba(0, 214, 235, .35); font-size: var(--t-sm); font-weight: 650; margin-bottom: 14px; }
.pinfo .compat svg { width: 16px; height: 16px; color: var(--signal); }
.pinfo h1 { font-family: var(--f-mono); font-size: clamp(1.8rem, 2.8vw + .6rem, 2.9rem); font-weight: 650; letter-spacing: -.02em; margin-bottom: 8px; word-break: break-word; }
.pinfo h1 small { display: block; font-family: var(--f-sans); font-size: clamp(1rem, .6vw + .8rem, 1.2rem); font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-top: 10px; line-height: 1.4; }
.skuline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--t-sm); color: var(--text-3); margin: 14px 0 20px; }
.skuline b { color: var(--text-2); font-family: var(--f-mono); font-weight: 500; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; margin-bottom: 22px; }
.kv div { background: var(--ink-950); padding: 12px 14px; }
.kv span { display: block; font-size: 12px; color: var(--text-3); }
.kv b { font-weight: 700; font-size: .98rem; }
.buybox { background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.buybox .price .main { font-size: 2rem; letter-spacing: -.02em; }
.buybox .price .alt { font-size: var(--t-sm); }
.variants { margin: 16px 0 4px; }
.variants label { display: block; font-size: var(--t-sm); font-weight: 700; margin-bottom: 8px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; }
.vchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-950); font-size: var(--t-sm); cursor: pointer; font-variant-numeric: tabular-nums; }
.vchip[aria-pressed='true'] { border-color: var(--signal); background: rgba(0, 214, 235, .12); color: var(--text); }
.vchip:hover { border-color: var(--signal-lo); }
.vselect { width: 100%; }
.buyrow { display: flex; gap: 10px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-950); height: 56px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--text-2); }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buyrow .btn { flex: 1; }
.assure { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: var(--t-sm); color: var(--text-2); }
.assure div { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { width: 18px; height: 18px; color: var(--signal); flex: none; margin-top: 1px; }
.pair { margin-top: 14px; padding: 14px; border-radius: var(--r-md); border: 1px dashed rgba(0, 214, 235, .45); background: rgba(0, 214, 235, .05); font-size: var(--t-sm); }
.pair b { color: var(--text); }
.aliases { display: flex; flex-wrap: wrap; gap: 6px; }
.alias { font-family: var(--f-mono); font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--ink-850); border: 1px solid var(--line-soft); cursor: copy; }
.alias:hover { border-color: var(--signal-lo); }
.pdetails { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding-bottom: 72px; }
.spectable { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.spectable th, .spectable td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.spectable th { color: var(--text-3); font-weight: 600; width: 44%; padding-right: 14px; }
.spectable td { font-weight: 600; }
.box { background: var(--ink-900); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px; }
.box h2, .box h3 { font-size: var(--t-lg); font-stretch: 108%; }
@media (max-width: 960px) { .product, .pdetails { grid-template-columns: minmax(0, 1fr); gap: 28px; } .gallery { position: static; } .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- kod kolorów ---------- */
.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.legend .item { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--ink-900); }
.legend .bar { width: 10px; align-self: stretch; border-radius: 6px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.legend b { display: block; }
.legend span { color: var(--text-2); font-size: var(--t-sm); }
.cwdm-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 16px; }
.cwdm-strip div { border-radius: 8px; padding: 30px 6px 8px; font-family: var(--f-mono); font-size: 12px; text-align: center; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }

/* proces (prawdziwa sekwencja) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 26px 26px 10px 0; position: relative; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line-soft); }
.step .n { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--signal); }
.step h3 { margin: 10px 0 8px; font-size: var(--t-xl); font-stretch: 112%; }
.step p { color: var(--text-2); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); } }

/* zalety (zobowiązania sklepu) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.fact b { display: block; font-size: var(--t-2xl); font-stretch: 120%; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 8px; }
.fact span { color: var(--text-2); font-size: var(--t-sm); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* kreator teaser */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 40px; border-radius: var(--r-xl); background: linear-gradient(120deg, #0F1A35, #0B1226 60%); border: 1px solid #22335B; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 214, 235, .18), transparent); }
.cta-band .opts { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); padding: 26px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-mono); color: var(--signal); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { color: var(--text-2); padding: 0 0 18px; max-width: 76ch; }

/* ---------- formularze ---------- */
.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: var(--t-sm); font-weight: 650; color: var(--text); }
.field .hint { font-size: 12px; color: var(--text-3); }
.input, .textarea, .field select { width: 100%; height: 48px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-900); padding: 0 14px; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(0, 214, 235, .12); }
.input[aria-invalid='true'] { border-color: var(--err); }
.err-msg { color: var(--err); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--text-2); cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #3A4A70; background: var(--ink-900); flex: none; margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--signal); border-color: var(--signal); }
.check input:checked::after { content: ''; width: 10px; height: 5px; border: 2px solid var(--signal-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--signal); }
.radio-cards { display: grid; gap: 10px; }
.rcard { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-900); cursor: pointer; transition: border-color .15s, background .15s; }
.rcard:hover { border-color: #3a4a70; }
.rcard input { appearance: none; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid #3A4A70; flex: none; margin: 0; display: grid; place-items: center; }
.rcard input:checked { border-color: var(--signal); }
.rcard input:checked::after { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--signal); }
.rcard:has(input:checked) { border-color: var(--signal); background: rgba(0, 214, 235, .06); }
.rcard .rc-main { flex: 1; }
.rcard .rc-main b { display: block; }
.rcard .rc-main span { font-size: var(--t-sm); color: var(--text-2); }
.rcard .rc-price { font-weight: 700; white-space: nowrap; }
.rcard[aria-disabled='true'] { opacity: .5; cursor: not-allowed; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--ink-900); }
.seg label { padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: var(--t-sm); color: var(--text-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--ink-700); color: var(--text); }
.notice { padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-900); font-size: var(--t-sm); color: var(--text-2); }
.notice.ok { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .07); color: var(--text); }
.notice.warn { border-color: rgba(255, 181, 71, .5); background: rgba(255, 181, 71, .07); color: var(--text); }
.notice.err { border-color: rgba(255, 107, 122, .55); background: rgba(255, 107, 122, .07); color: var(--text); }
.hp { position: absolute; left: -9999px; }

/* ---------- koszyk / zamówienie ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr); gap: 36px; align-items: start; padding-top: 28px; padding-bottom: 80px; }
.summary { position: sticky; top: calc(var(--hdr-h) + 20px); }
.cart-list { display: grid; gap: 12px; }
.citem { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-900); }
.citem img { width: 84px; height: 84px; border-radius: var(--r-md); background: var(--plate); }
.citem .pn { font-weight: 650; text-decoration: none; display: block; }
.citem .sub { font-size: var(--t-sm); color: var(--text-2); }
.citem .right { display: flex; flex-direction: column; align-items: end; gap: 8px; }
.citem .qty { height: 40px; }
.citem .qty button { width: 34px; }
.citem .qty input { width: 38px; }
.rm { background: none; border: 0; color: var(--text-3); font-size: 12px; cursor: pointer; text-decoration: underline; }
.rm:hover { color: var(--err); }
.totals { display: grid; gap: 8px; font-size: var(--t-sm); }
.totals .row { display: flex; justify-content: space-between; gap: 10px; color: var(--text-2); }
.totals .row b { color: var(--text); font-variant-numeric: tabular-nums; }
.totals .grand { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1.15rem; color: var(--text); }
.totals .grand b { font-size: 1.5rem; font-weight: 800; }
.freeship { margin: 14px 0; }
.freeship .track { height: 6px; border-radius: 6px; background: var(--ink-700); overflow: hidden; margin-top: 8px; }
.freeship .track i { display: block; height: 100%; background: var(--signal); border-radius: 6px; transition: width .4s; }
.mini-items { display: grid; gap: 10px; margin-bottom: 16px; max-height: 300px; overflow: auto; }
.mini-items div { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: var(--t-sm); }
.mini-items img { width: 48px; height: 48px; border-radius: 8px; background: var(--plate); }
.mini-items .q { color: var(--text-3); }
.formsec { padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-950); margin-bottom: 18px; }
.formsec h2 { font-size: var(--t-lg); font-stretch: 110%; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.formsec h2 .n { font-family: var(--f-mono); color: var(--signal); font-size: var(--t-sm); border: 1px solid rgba(0,214,235,.4); border-radius: 999px; width: 26px; height: 26px; display: grid; place-items: center; }
@media (max-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
@media (max-width: 560px) { .citem { grid-template-columns: 64px 1fr; } .citem img { width: 64px; height: 64px; } .citem .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- kreator ---------- */
.wiz { max-width: 980px; margin: 0 auto; padding: 32px 0 80px; }
.wiz-progress { display: flex; gap: 6px; margin: 18px 0 28px; }
.wiz-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--ink-700); }
.wiz-progress i.on { background: var(--signal); }
.wiz-step h2 { font-size: var(--t-2xl); font-stretch: 115%; }
.wiz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 18px; }
.wopt { text-align: left; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-900); cursor: pointer; transition: border-color .15s, background .15s; color: var(--text); }
.wopt:hover { border-color: var(--signal-lo); }
.wopt[aria-pressed='true'] { border-color: var(--signal); background: rgba(0, 214, 235, .08); }
.wopt b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.wopt span { display: block; font-size: var(--t-sm); color: var(--text-2); line-height: 1.4; }
.wopt .big { font-size: 2rem; font-stretch: 125%; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.wopt .fib { display: inline-block; width: 34px; height: 8px; border-radius: 6px; margin-bottom: 10px; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }
.wiz-summary { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

/* ---------- stopka ---------- */
.ftr { border-top: 1px solid var(--line); background: #070B18; padding: 64px 0 28px; margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr h3 { font-size: var(--t-sm); color: var(--text); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { text-decoration: none; color: var(--text-2); font-size: var(--t-sm); }
.ftr a:hover { color: var(--text); }
.ftr .about { color: var(--text-2); font-size: var(--t-sm); max-width: 36ch; }
.ftr .about img { height: 44px; width: auto; margin-bottom: 16px; }
.ftr .tag { font-stretch: 115%; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--text-3); }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 700; color: var(--text-2); }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- cookies / toast ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto; background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); font-size: var(--t-sm); color: var(--text-2); }
.cookie[hidden] { display: none; }
.cookie .btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 99; background: var(--ink-800); border: 1px solid var(--signal-lo); color: var(--text); border-radius: 999px; padding: 12px 14px 12px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 60px -10px rgba(0,0,0,.8); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: var(--t-sm); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--signal); font-weight: 700; white-space: nowrap; }

/* drobne */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.ok-dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--ok); display: inline-block; }
.divider { height: 1px; background: var(--line-soft); margin: 24px 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }
.page-head { padding: 44px 0 28px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { margin-bottom: 12px; }
.page-body { padding-top: 44px; padding-bottom: 88px; }
.contact-list { display: grid; gap: 16px; }
.contact-list a { font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.tag-demo { display: inline-block; font-size: 11px; font-weight: 800; color: var(--signal-ink); background: var(--warn); padding: 2px 8px; border-radius: 999px; }

@media (max-width: 560px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand { min-height: 0; padding: 14px; }
  .brand b, .brand.top b { font-size: 1.05rem; }
  .brand span:not(.bar) { font-size: 12px; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard .body { padding: 10px 12px 12px; gap: 6px; }
  .pcard .pn { font-size: .9rem; }
  .pcard .name { font-size: 12px; }
  .pcard .specs .spec:nth-child(n+3) { display: none; }
  .pcard .code { left: 8px; top: 8px; font-size: 10px; }
  .price .main { font-size: 1rem; }
  .add { width: 38px; height: 38px; }
  .kv b { font-size: .9rem; }
  .sec { padding: 64px 0; }
  .hero-readout { right: 10px; bottom: 10px; font-size: 11px; padding: 10px; }
  .search-xl .search-field { height: 56px; padding-left: 16px; }
  .search-xl .search-field input { font-size: 1rem; }
  .buyrow { flex-wrap: wrap; }
  .facts { gap: 20px; }
}

/* =====================================================================
   ANIMACJE I EFEKTY – motyw „światło w światłowodzie”
   • kafelki produktów świecą kolorem zatrzasku (kod kolorów modułu),
     a po krawędzi biegnie impuls światła
   • elementy wjeżdżają przy przewijaniu (assets/js/efekty.js)
   • wszystko wyłącza się samo, gdy system ma ograniczone animacje
     (Windows: Ustawienia → Ułatwienia dostępu → Efekty wizualne)
   ===================================================================== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

@keyframes fadeUp { from { opacity: 0; translate: 0 18px; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes plateIn { from { opacity: 0; scale: .94; filter: blur(8px); } }
@keyframes spinBorder { to { --ang: 360deg; } }
@keyframes textShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes barFlow { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes pop { 0% { scale: .7; } 60% { scale: 1.12; } 100% { scale: 1; } }

/* ---------- wejście przy przewijaniu ---------- */
[data-rv] { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease-out), translate .85s var(--ease-out) !important; transition-delay: var(--rv-d, 0ms) !important; }
[data-rv].in { opacity: 1; translate: none; }
.rv-pop { animation: rvPop .6s var(--ease-out) backwards; animation-delay: var(--rv-d, 0ms); }
@keyframes rvPop { from { opacity: 0; translate: 0 16px; scale: .97; } }
@media print { [data-rv] { opacity: 1 !important; translate: none !important; } }

/* ---------- nagłówek: cień po przewinięciu + pasek postępu jak sygnał ---------- */
.hdr { transition: box-shadow .3s, background-color .3s; }
.hdr.scrolled { background: rgba(10, 15, 32, .94); box-shadow: 0 14px 40px -20px rgba(0, 0, 0, .9); }
.hdr::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, rgba(0, 214, 235, .2), var(--signal) 60%, var(--signal-hi)); box-shadow: 0 0 10px rgba(0, 214, 235, .7); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.logo img { transition: filter .35s, transform .35s var(--ease-out); }
.nav > a, .nav > .dd > button { position: relative; transition: background .2s, color .2s; }
.nav > a::after, .nav > .dd > button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 8px var(--signal); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav > a:hover::after, .nav > .dd > button:hover::after, .nav > a[aria-current='page']::after, .dd.open > button::after { transform: scaleX(1); }
.nav > .dd > button svg { transition: transform .3s var(--ease-out); }
.dd.open > button svg { transform: rotate(180deg); }
.dd.open .dd-panel { animation: ddIn .3s var(--ease-out); }
.dd.open .dd-panel > * { animation: fadeUp .45s var(--ease-out) backwards; }
.dd.open .dd-panel > :nth-child(2) { animation-delay: .05s; }
.dd.open .dd-panel > :nth-child(3) { animation-delay: .1s; }
@keyframes ddIn { from { opacity: 0; translate: 0 -8px; scale: .985; } }
.dd-speed a, .dd-brands a, .dd-tools a { transition: background .2s, color .2s, border-color .2s, translate .25s var(--ease-out); }
.dd-speed b { transition: color .2s; }
.cart-btn { transition: border-color .2s, box-shadow .3s; }
.cart-btn.hit { animation: cartHit .55s var(--ease-spring); }
.cart-btn .badge.bump { animation: bump .55s var(--ease-spring); }
@keyframes cartHit { 30% { rotate: -12deg; scale: 1.1; } 65% { rotate: 7deg; } }
@keyframes bump { 40% { scale: 1.5; background: #fff; } }
.mnav.open { animation: fadeIn .25s; }
.mnav.open .mnav-panel { animation: slideIn .4s var(--ease-out); }
@keyframes slideIn { from { translate: 100% 0; } }
.search-results:not([hidden]) { animation: ddIn .22s var(--ease-out); }

/* ---------- przyciski: połysk, poświata, fala po kliknięciu ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease-out), box-shadow .3s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary::after { content: ''; position: absolute; top: -2px; bottom: -2px; left: -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
.rip { position: absolute; z-index: -1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: currentColor; opacity: .28; pointer-events: none; animation: rip .65s ease-out forwards; }
.btn-primary .rip { background: #fff; opacity: .5; }
@keyframes rip { to { transform: scale(var(--rs, 40)); opacity: 0; } }
@keyframes sheen { from { opacity: 1; transform: skewX(-20deg) translateX(0); } to { opacity: 1; transform: skewX(-20deg) translateX(440%); } }
.qchip { transition: border-color .2s, color .2s, translate .3s var(--ease-out), box-shadow .3s; }

/* ---------- reflektor podążający za kursorem (kafelki) ---------- */
.pcard, .speed, .brand, .wopt, .legend .item, .rcard, .citem, .dd-tools a { --c: 0 214 235; }
.pcard::before, .speed::before, .brand::before, .wopt::before, .rcard::before, .citem::before, .dd-tools a::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--c) / .2), transparent 62%);
  opacity: 0; transition: opacity .4s;
}
.speed, .brand, .wopt, .rcard, .citem, .dd-tools a { position: relative; isolation: isolate; }

/* ---------- karta produktu ---------- */
.pcard { isolation: isolate; transition: border-color .35s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.pcard::before { z-index: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--c) / .3), transparent 65%); }
.pcard .body { transition: background .4s; }
.pcard .plate, .pcard .body { position: relative; z-index: 1; }
.pcard .plate { overflow: hidden; }
.pcard .plate img { transition: transform .8s var(--ease-out); }
.pcard .plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); transform: translateX(-130%); pointer-events: none; }
.pcard::after { /* impuls światła obiegający krawędź karty */
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg 230deg, rgb(var(--c) / .95) 300deg, #fff 335deg, rgb(var(--c) / .95) 348deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.pcard .swatch { transition: box-shadow .35s, scale .35s var(--ease-spring); }
.pcard .price .main { transition: color .3s; }
.add { isolation: isolate; transition: background .2s, color .2s, border-color .2s, box-shadow .3s, transform .35s var(--ease-spring); }
.add svg { transition: transform .4s var(--ease-spring); }
.add.done { animation: addPop .55s var(--ease-spring); }
@keyframes addPop { 0% { scale: .75; box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); } 55% { scale: 1.15; } 100% { scale: 1; box-shadow: 0 0 0 16px rgba(61, 220, 151, 0); } }
.fly { position: fixed; z-index: 120; width: 56px; height: 56px; pointer-events: none; }
.fly i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--plate) center / cover no-repeat; box-shadow: 0 0 0 2px var(--signal), 0 0 26px rgba(0, 214, 235, .8); }

/* ---------- kafelki prędkości ---------- */
.speed { isolation: isolate; }
.speed img { transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.speed .v small { transition: color .3s; }

/* ---------- kafelki marek ---------- */
.brand b { transition: color .3s, translate .4s var(--ease-out); }
.brand .bar i { transform-origin: left; transition: transform 1.2s var(--ease-out) .25s, box-shadow .3s; }
.brand[data-rv]:not(.in) .bar i { transform: scaleX(0); }

/* ---------- legenda kolorów ---------- */
.legend .item { position: relative; overflow: hidden; isolation: isolate; transition: border-color .35s, translate .4s var(--ease-out); }
.legend .item::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--c) / .24), rgb(var(--c) / .05) 70%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.legend .bar { transition: box-shadow .35s, scale .35s var(--ease-out); }

/* ---------- kroki: impuls biegnący po linii ---------- */
.step::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--signal-lo), var(--signal-hi)); box-shadow: 0 0 10px var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .7s linear; }
.step.in::before { transform: scaleX(1); }
.step:nth-child(1).in::before { transition-delay: .3s; }
.step:nth-child(2).in::before { transition-delay: 1s; }
.step:nth-child(3).in::before { transition-delay: 1.7s; }
.step .n { transition: text-shadow .3s, color .3s; }

/* ---------- liczby ---------- */
.fact b { font-variant-numeric: tabular-nums; }
.fact b.done { animation: numGlow 1.2s ease-out; }
@keyframes numGlow { from { color: var(--signal-hi); text-shadow: 0 0 22px rgba(0, 214, 235, .7); } }

/* ---------- pas z kreatorem: dryfujące światła ---------- */
.cta-band > div { position: relative; z-index: 1; }
.cta-band::after { animation: orbA 14s ease-in-out infinite alternate; }
.cta-band::before { content: ''; position: absolute; left: -140px; bottom: -170px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 110, 255, .2), transparent); pointer-events: none; animation: orbB 18s ease-in-out infinite alternate; }
@keyframes orbA { to { translate: -300px 140px; scale: 1.35; } }
@keyframes orbB { to { translate: 340px -90px; scale: .85; } }

/* ---------- hero: sekwencja wejścia, żywa diagnostyka, pochylenie ---------- */
/* poświaty jako tło sekcji (nie wychodzą poza hero), a hero nie przycina listy podpowiedzi wyszukiwarki */
@property --g1x { syntax: '<percentage>'; inherits: false; initial-value: 84%; }
@property --g1y { syntax: '<percentage>'; inherits: false; initial-value: 12%; }
@property --g2x { syntax: '<percentage>'; inherits: false; initial-value: 6%; }
@property --g2y { syntax: '<percentage>'; inherits: false; initial-value: 96%; }
.hero { z-index: 3; overflow: hidden; overflow: clip visible; background: radial-gradient(circle at var(--g1x) var(--g1y), rgba(0, 214, 235, .11), transparent 38vw), radial-gradient(circle at var(--g2x) var(--g2y), rgba(58, 110, 255, .1), transparent 34vw); animation: heroGlow 16s ease-in-out infinite alternate; }
.hero::before { content: none; }
@keyframes heroGlow { to { --g1x: 62%; --g1y: 40%; --g2x: 28%; --g2y: 70%; } }
.hero-fiber { clip-path: inset(-100vh -100vw calc(-1 * var(--fb, 72px)) -100vw); }
.hero h1 .w { display: inline-block; animation: wordUp 1s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
@keyframes wordUp { from { opacity: 0; translate: 0 .6em; filter: blur(8px); } }
.hero .lead { animation: fadeUp .9s var(--ease-out) .5s backwards; }
.hero .search-xl { animation: fadeUp .9s var(--ease-out) .65s backwards; }
.hero-chips { animation: fadeUp .9s var(--ease-out) .8s backwards; }
.hero-visual { animation: plateIn 1.3s var(--ease-out) .15s backwards; transition: transform .6s var(--ease-out); }
.hero-readout { animation: readoutIn 1s var(--ease-out) 1.05s backwards; }
@keyframes readoutIn { from { opacity: 0; translate: 28px 0; } }
.hero-fiber .pulse { animation-delay: 1.3s; }
.hero-fiber .pulse.p2 { animation-delay: 3.1s; }
.hero-plate::after { content: ''; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .32), transparent 45%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .5s; pointer-events: none; }
.hero-visual.tilting .hero-plate::after { opacity: 1; }
.hero-readout .live { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--ok); vertical-align: 1px; animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .65); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
.hero-readout b.tick { animation: tick .8s ease-out; }
@keyframes tick { from { color: #fff; text-shadow: 0 0 12px var(--signal); } }
/* wyszukiwarka w hero – światło krąży po obwodzie */
.search-xl .search-field { position: relative; isolation: isolate; }
.search-xl .search-field::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg 260deg, rgba(0, 214, 235, .9) 330deg, #fff 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: .55; animation: spinBorder 5s linear infinite; transition: opacity .3s; }
.search-xl .search-field:focus-within::before { opacity: 1; animation-duration: 2.4s; }

/* ---------- wejście podstron ---------- */
.page-head .wrap > *, .shop-intro > * { animation: fadeUp .8s var(--ease-out) backwards; }
.page-head .wrap > :nth-child(2), .shop-intro > :nth-child(2) { animation-delay: .08s; }
.page-head .wrap > :nth-child(3), .shop-intro > :nth-child(3) { animation-delay: .16s; }
.page-head .wrap > :nth-child(n+4), .shop-intro > :nth-child(n+4) { animation-delay: .24s; }

/* ---------- strona produktu ---------- */
.gallery .plate { animation: plateIn 1s var(--ease-out) backwards; }
.gallery .plate img { transition: transform .35s ease-out; }
.gallery .plate.zoom { cursor: zoom-in; }
.gallery .plate.zoom img { transform: scale(1.9); }
.pinfo > * { animation: fadeUp .8s var(--ease-out) backwards; }
.pinfo > :nth-child(2) { animation-delay: .06s; } .pinfo > :nth-child(3) { animation-delay: .12s; } .pinfo > :nth-child(n+4) { animation-delay: .18s; }
.price.flash .main { animation: priceFlash .8s ease-out; }
@keyframes priceFlash { from { color: var(--signal-hi); text-shadow: 0 0 20px rgba(0, 214, 235, .7); } }
.vchip { position: relative; overflow: hidden; isolation: isolate; --c: 0 214 235; transition: border-color .2s, background .2s, box-shadow .3s, transform .3s var(--ease-spring); }
.vchip[aria-pressed='true'] { border-color: rgb(var(--c)); background: rgb(var(--c) / .13); box-shadow: 0 0 0 3px rgb(var(--c) / .16), 0 0 18px -4px rgb(var(--c) / .7); }
.vchip:active { transform: scale(.94); }
.alias { transition: border-color .2s, color .2s, translate .25s var(--ease-out); }

/* ---------- katalog / tabela ---------- */
.ptable td { transition: background .2s; }
.ptable tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--signal); }
.ptable .t-img img { transition: transform .35s var(--ease-out); }
.check input:checked { animation: pop .35s var(--ease-spring); }

/* ---------- kreator ---------- */
.wiz-step { animation: stepIn .55s var(--ease-out) backwards; }
@keyframes stepIn { from { opacity: 0; translate: 32px 0; } }
.wopt { overflow: hidden; transition: border-color .25s, background .25s, translate .35s var(--ease-out), box-shadow .35s; animation: fadeUp .5s var(--ease-out) backwards; }
.wiz-opts .wopt:nth-child(1) { animation-delay: .1s; } .wiz-opts .wopt:nth-child(2) { animation-delay: .15s; } .wiz-opts .wopt:nth-child(3) { animation-delay: .2s; }
.wiz-opts .wopt:nth-child(4) { animation-delay: .25s; } .wiz-opts .wopt:nth-child(5) { animation-delay: .3s; } .wiz-opts .wopt:nth-child(6) { animation-delay: .35s; }
.wiz-opts .wopt:nth-child(n+7) { animation-delay: .4s; }
.wopt .fib { transition: box-shadow .3s, scale .3s var(--ease-out); }
.wopt .big { transition: color .3s; }
.wiz-progress i { position: relative; overflow: hidden; }
.wiz-progress i.on { background: var(--ink-700); }
.wiz-progress i.on::after { content: ''; position: absolute; inset: 0; background: var(--signal); box-shadow: 0 0 8px var(--signal); transform-origin: left; }
.wiz-progress i.on:has(+ i:not(.on))::after { animation: fillBar .7s var(--ease-out) .15s backwards; }
@keyframes fillBar { from { transform: scaleX(0); } }

/* ---------- koszyk / zamówienie ---------- */
.citem { transition: border-color .3s, box-shadow .3s; }
.citem img { transition: transform .4s var(--ease-out); }
.rcard { overflow: hidden; }
.rcard:has(input:checked) input::after { animation: pop .35s var(--ease-spring); }
.freeship .track i { background: linear-gradient(90deg, var(--signal-lo), var(--signal-hi), var(--signal-lo)); background-size: 200% 100%; animation: barFlow 2.2s linear infinite; box-shadow: 0 0 10px rgba(0, 214, 235, .6); }

/* ---------- FAQ ---------- */
.faq summary { transition: color .25s; }
.faq summary::after { transition: rotate .4s var(--ease-out); }
.faq details[open] summary::after { content: '+'; rotate: 135deg; }
.faq details[open] > div { animation: faqIn .5s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; translate: 0 -8px; } }

/* ---------- powiadomienie z paskiem czasu ---------- */
.toast { transition: opacity .3s, transform .5s var(--ease-spring); overflow: hidden; }
.toast::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.toast.tick::after { animation: toastBar 4.2s linear forwards; }
@keyframes toastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.ftr a { transition: color .2s; }

/* ---------- efekty po najechaniu (tylko mysz/touchpad) ---------- */
@media (hover: hover) and (pointer: fine) {
  .logo:hover img { filter: drop-shadow(0 0 14px rgba(0, 214, 235, .5)); transform: scale(1.03); }
  .dd-speed a:hover { translate: 4px 0; }
  .dd-speed a:hover b { color: var(--signal); }
  .dd-brands a:hover { translate: 4px 0; }
  .dd-tools a:hover::before { opacity: 1; }
  .cart-btn:hover { box-shadow: 0 0 0 4px rgba(0, 214, 235, .12), 0 0 22px -4px rgba(0, 214, 235, .6); }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 12px 30px -10px rgba(0, 214, 235, .8), 0 0 0 4px rgba(0, 214, 235, .14); }
  .btn-primary:hover::after { animation: sheen .9s var(--ease-out); }
  .btn:not(.btn-primary):hover { --bd: var(--signal-lo); box-shadow: 0 0 0 3px rgba(0, 214, 235, .09), 0 10px 26px -14px rgba(0, 214, 235, .6); }
  .qchip:hover { translate: 0 -2px; box-shadow: 0 8px 20px -8px rgba(0, 214, 235, .7); }

  .pcard:hover { transform: translateY(-8px); border-color: rgb(var(--c) / .45); box-shadow: 0 30px 60px -22px rgb(var(--c) / .7), 0 0 46px -12px rgb(var(--c) / .55); }
  .pcard:hover::before { opacity: 1; }
  .pcard:hover .body { background: linear-gradient(180deg, transparent 30%, rgb(var(--c) / .1)); }
  .pcard:hover::after { opacity: 1; animation: spinBorder 2.6s linear infinite; }
  .pcard:hover .plate img { transform: scale(1.08) rotate(-2deg); }
  .pcard:hover .plate::after { transform: translateX(130%); transition: transform 1s var(--ease-out); }
  .pcard:hover .swatch { scale: 1.25; box-shadow: 0 0 0 3px rgb(var(--c) / .35), 0 0 12px rgb(var(--c)); }
  .pcard:hover .price .main { color: #fff; }
  .pcard:hover .add { border-color: rgb(var(--c)); box-shadow: 0 0 18px -4px rgb(var(--c)); }
  .add:hover { transform: scale(1.08); }
  .add:not(.done):hover svg { transform: rotate(90deg); }

  .speed:hover::before { opacity: 1; }
  .speed:hover img { transform: translateY(-10px) rotate(-5deg) scale(1.06); box-shadow: 0 30px 40px -20px rgba(0, 214, 235, .6); }
  .speed:hover .v { background: linear-gradient(100deg, var(--text) 20%, var(--signal) 40%, #fff 50%, var(--signal) 60%, var(--text) 80%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: textShine 1.8s linear infinite; }
  .speed:hover .v small { color: transparent; }

  .brand:hover::before { opacity: 1; }
  .brand:hover b { color: var(--signal-hi); translate: 5px 0; }
  .brand:hover .bar i { background: linear-gradient(90deg, var(--signal-lo), #fff, var(--signal-lo)); background-size: 200% 100%; animation: barFlow 1.3s linear infinite; box-shadow: 0 0 10px var(--signal); }

  .legend .item:hover { border-color: rgb(var(--c) / .6); translate: 0 -3px; }
  .legend .item:hover::before { transform: scaleX(1); }
  .legend .item:hover .bar { scale: 1.15 1; box-shadow: 0 0 18px 2px rgb(var(--c) / .75); }

  .step:hover .n { color: var(--signal-hi); text-shadow: 0 0 14px var(--signal); }
  .alias:hover { translate: 0 -2px; }
  .ptable tr:hover .t-img img { transform: scale(1.18) rotate(-4deg); }

  .wopt:hover { translate: 0 -4px; border-color: rgb(var(--c) / .75); box-shadow: 0 18px 36px -18px rgb(var(--c) / .7); }
  .wopt:hover::before { opacity: 1; }
  .wopt:hover .fib { scale: 1.15; box-shadow: 0 0 16px rgb(var(--c)); }
  .wopt:hover .big { color: var(--signal-hi); }
  .rcard:hover::before, .citem:hover::before { opacity: 1; }
  .citem:hover { border-color: var(--line); box-shadow: 0 18px 40px -26px rgba(0, 214, 235, .5); }
  .citem:hover img { transform: scale(1.06) rotate(-2deg); }
  .faq summary:hover { color: var(--signal-hi); }
}
/* dotyk: krótkie ugięcie zamiast efektów najechania */
@media (hover: none) {
  .pcard:active, .speed:active, .brand:active, .wopt:active, .legend .item:active { scale: .98; transition: scale .15s; }
}

/* ---------- menu „Sklep”: kolumna prędkości w siatce (bez nachodzenia napisów) ---------- */
.dd-speed { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-content: start; column-gap: 0; }
.dd-speed h3 { grid-column: 1 / -1; }
.dd-speed a { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; column-gap: 14px; }
.dd-speed b { min-width: 0; white-space: nowrap; }
.dd-speed span { line-height: 1.35; }
@supports not (grid-template-columns: subgrid) { .dd-speed a { grid-template-columns: 6.6em minmax(0, 1fr); } }
.dd-all { display: inline-block; margin-top: 10px; padding: 6px 10px; font-size: var(--t-sm); font-weight: 650; color: var(--signal); text-decoration: none; border-radius: var(--r-sm); transition: background .2s; }
.dd-all:hover { background: var(--ink-800); color: var(--signal-hi); }

/* ---------- serwis ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc { --c: 0 214 235; position: relative; isolation: isolate; overflow: hidden; padding: 28px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--ink-900); transition: border-color .35s, translate .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--c) / .16), transparent 62%); opacity: 0; transition: opacity .4s; }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(0, 214, 235, .1); border: 1px solid rgba(0, 214, 235, .35); color: var(--signal); margin-bottom: 18px; transition: transform .5s var(--ease-spring), box-shadow .4s; }
.svc-ic svg { width: 26px; height: 26px; }
.svc h2 { font-size: var(--t-xl); font-stretch: 112%; margin: 0 0 10px; }
.svc p { color: var(--text-2); margin: 0 0 14px; }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc li { position: relative; padding-left: 22px; font-size: var(--t-sm); }
.svc li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.svc-quote { margin-top: 72px; align-items: start; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .svc { padding: 22px; } .svc-quote { margin-top: 48px; } }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { translate: 0 -4px; border-color: rgba(0, 214, 235, .45); box-shadow: 0 26px 50px -26px rgba(0, 214, 235, .55); }
  .svc:hover::before { opacity: 1; }
  .svc:hover .svc-ic { transform: rotate(-8deg) scale(1.08); box-shadow: 0 0 24px -4px rgba(0, 214, 235, .8); }
}

/* ---------- gwarancja: sprawdzanie numeru seryjnego ---------- */
.gw { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; margin-bottom: 64px; }
.gw-form .lbl { display: block; margin-bottom: 8px; }
.gw-field { height: 64px; padding-left: 20px; padding-right: 8px; background: #0B1122; border-color: #2A3962; position: relative; isolation: isolate; }
.gw-field input { font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; }
.gw-field input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--f-sans); }
.gw-field svg { width: 22px; height: 22px; color: var(--signal); }
.gw-field::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg 260deg, rgba(0, 214, 235, .9) 330deg, #fff 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: .55; animation: spinBorder 5s linear infinite; }
.gw-field:focus-within::before { opacity: 1; animation-duration: 2.4s; }
.gw-hint { margin: 10px 0 0; font-size: var(--t-sm); color: var(--text-3); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gw-out { margin-top: 22px; transition: opacity .2s; }
.gw-out.busy { opacity: .45; }
.gw-card { --c: 61 220 151; position: relative; overflow: hidden; padding: 24px; border-radius: var(--r-lg); background: var(--ink-900); border: 1px solid rgb(var(--c) / .45); box-shadow: 0 30px 60px -36px rgb(var(--c) / .6); animation: gwIn .6s var(--ease-out); }
.gw-card.is-exp { --c: 255 181 71; }
.gw-card.is-none { --c: 127 140 166; }
.gw-card::after { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, rgb(var(--c)), transparent); }
@keyframes gwIn { from { opacity: 0; translate: 0 14px; scale: .985; } }
.gw-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--text-2); font-size: var(--t-sm); }
.gw-status b { color: rgb(var(--c)); font-size: 1rem; }
.gw-dot { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 0 0 rgb(var(--c) / .6); animation: gwPulse 1.8s ease-out infinite; }
@keyframes gwPulse { 70%, 100% { box-shadow: 0 0 0 9px rgb(var(--c) / 0); } }
.gw-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.gw-img { width: 84px; height: 84px; border-radius: var(--r-md); background: var(--plate); flex: none; }
.gw-name { margin: 0; font-size: var(--t-lg); font-stretch: 106%; line-height: 1.3; }
.gw-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; }
.gw-kv > div { background: var(--ink-950); padding: 12px 14px; }
.gw-kv .wide { grid-column: 1 / -1; }
.gw-kv dt { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.gw-kv dd { margin: 0; font-weight: 600; }
.gw-meter { height: 6px; border-radius: 6px; background: var(--ink-700); overflow: hidden; margin-bottom: 20px; }
.gw-meter i { display: block; height: 100%; width: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--signal), rgb(var(--c))); transform-origin: left; transform: scaleX(var(--p, 0)); animation: gwMeter 1.1s var(--ease-out) .15s backwards; }
@keyframes gwMeter { from { transform: scaleX(0); } }
.gw-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gw-card.is-none p { color: var(--text-2); margin: 0 0 10px; }
.gw-where h2 { font-size: var(--t-lg); }
.gw-where p { color: var(--text-2); font-size: var(--t-sm); margin: 0; }
.gw-fig { position: relative; margin: 0 0 14px; border-radius: var(--r-md); overflow: hidden; background: var(--plate); }
.gw-fig img { width: 100%; height: auto; display: block; }
.gw-mark { position: absolute; left: 39.6%; top: 39.4%; width: 19.4%; height: 9.6%; border: 2px solid var(--signal); border-radius: 6px; box-shadow: 0 0 0 4px rgba(0, 214, 235, .25), 0 0 18px rgba(0, 214, 235, .8); animation: gwMark 2.2s ease-in-out infinite; }
@keyframes gwMark { 50% { box-shadow: 0 0 0 8px rgba(0, 214, 235, .08), 0 0 26px rgba(0, 214, 235, .9); } }
.gw-terms { max-width: 76ch; }
@media (max-width: 960px) { .gw { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .gw-kv { grid-template-columns: minmax(0, 1fr); } .gw-field { height: 56px; padding-left: 14px; } .gw-field input { font-size: 1rem; } .gw-img { width: 64px; height: 64px; } .gw-card { padding: 18px; } }
.fopt[hidden] { display: none; }
.dd-panel { grid-template-columns: 1.3fr 1.3fr .95fr; }
.two .steps .step + .step { padding-left: 0; border-left: 0; }
