/* mikrosluchawka.com
   Motyw: pole magnetyczne pętli (pierścienie) i kolor obudowy słuchawki.
   Kolory z logo: czerń napisu, pomarańcz słuchawki, neutralne szarości. */

@font-face { font-family: "Plus Jakarta Sans"; src: url(/fonts/jakarta-latin-ext.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  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: "Plus Jakarta Sans"; src: url(/fonts/jakarta-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  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 {
  --fog: #f5f5f3;
  --surface: #ffffff;
  --navy: #17191c;
  --navy-2: #26292d;
  --ink: #17191c;
  --ink-2: #4a4d52;
  --muted: #74777c;
  --line: #e3e2de;
  --cobalt: #ec953b;
  --cobalt-ink: #a4520a;
  --cobalt-soft: #fdeedd;
  --field: #ec953b;
  --skin: #f6c48f;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--fog); color: var(--ink);
  font: 400 17px/1.65 var(--text);
  word-spacing: .08em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--cobalt-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }

h1, h2, h3 {
  font-family: var(--display); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.02em; word-spacing: .1em; color: inherit; margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; margin: 1rem 0 0; }

/* przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  background: var(--cobalt); color: var(--navy); border: 1.5px solid var(--cobalt);
  font: 600 1rem/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: #f5ad63; border-color: #f5ad63; color: var(--navy); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: inherit; border-color: currentColor; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--skin); border-color: var(--skin); color: var(--navy); }
.btn-small { min-height: 40px; padding: 0 1.1em; font-size: .93rem; }

/* nagłówek strony */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245, 245, 243, .88);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(23, 25, 28, .08);
}
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font: 700 1.2rem/1 var(--display); letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo-img { height: 30px; width: auto; display: block; }
@media (max-width: 680px) { .logo-img { height: 24px; } }
.logo-footer .logo-img { height: 24px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 10px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(23, 25, 28, .06); }
.nav a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; }

/* HERO */
.hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(28px, 4vw, 48px);
}
.hero .lead { color: #c9cacc; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; word-spacing: .12em; line-height: 1.06; max-width: 12ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.field { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.field picture { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(236, 149, 59, .22), 0 30px 80px -20px rgba(0, 0, 0, .6); }
.field img { width: 100%; height: 100%; object-fit: cover; }
.rings { position: absolute; inset: -18%; width: 136%; height: 136%; max-width: none; overflow: visible; }
.rings circle { fill: none; stroke: var(--field); stroke-width: .6; opacity: calc(.75 - var(--i) * .13); transform-origin: 100px 100px; }
@media (prefers-reduced-motion: no-preference) {
  .rings circle { animation: ring 1.6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
  @keyframes ring { from { transform: scale(.55); opacity: 0; } }
}

/* droga sygnału */
.signal {
  list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: center; gap: 16px;
}
.signal-node { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: #b9bbbe; line-height: 1.35; }
.signal-node strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; }
.signal-node svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--navy-2); fill: none; stroke: var(--skin); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.signal-link { position: relative; text-align: center; font-size: .8rem; color: #9a9da1; padding-top: 18px; }
.signal-link::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 1.5px dashed #5a5d62; }
.signal-field::before { border-top: 0; height: 10px; top: 1px;
  background: radial-gradient(circle at 5px 5px, var(--field) 1.6px, transparent 2px) 0 0 / 14px 10px repeat-x; opacity: .8; }

/* sekcje */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--surface); }
.section-last { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row a { font-weight: 600; }
.section-more { margin: 28px 0 0; font-weight: 600; }

/* dobór zestawu */
.picker-section { background: var(--surface); }
.picker-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.picker { margin-top: 32px; display: grid; gap: 26px; }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; transition: opacity .2s; }
.picker fieldset:disabled { opacity: .4; }
.picker legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; height: 100%; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--fog); border: 1.5px solid transparent; font-weight: 600; line-height: 1.3;
  transition: border-color .15s, background-color .15s;
}
.seg small { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 3px; }
.seg label:hover span { border-color: var(--line); }
.seg input:checked + span { background: var(--cobalt-soft); border-color: var(--cobalt); }
.seg input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.picker fieldset:disabled label { cursor: default; }

.result {
  position: sticky; top: 96px;
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px); overflow: hidden;
}
.result-label { margin: 0; color: var(--skin); font-weight: 600; font-size: .95rem; }
.result-name { font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 8px 0 12px; }
.result-why { color: #c9cacc; margin: 0 0 24px; }
.result-more { margin: 20px 0 0; font-size: .9rem; color: #9a9da1; }
.result-more a { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .result.flash .result-name { animation: swap .35s ease-out; }
  @keyframes swap { from { opacity: .2; transform: translateY(6px); } }
}

/* rodzaje */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.kind { padding: 24px 28px 8px 0; }
.kind + .kind { padding-left: 28px; border-left: 1px solid var(--line); }
.kind p { color: var(--ink-2); margin: .5em 0 1.2em; }
.size { position: relative; height: 12px; border-radius: 999px; background: var(--line); margin: 0 0 30px; }
.size::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--s); border-radius: inherit; background: linear-gradient(90deg, var(--skin), #e5883a); }
.size span { position: absolute; top: 18px; left: 0; font-size: .82rem; color: var(--muted); }
.kind dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .93rem; }
.kind dt { color: var(--muted); }
.kind dd { margin: 0; font-weight: 500; }
.kind h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.kind--top h3 .tag { font-size: .75rem; padding: 3px 9px; }
.kind:not(.kind--top) .size::before { background: #cfccc6; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split figure { margin: 0; }
.split img { border-radius: var(--r-lg); width: 100%; }
.split h2 { margin-bottom: .5em; }
.split p { color: var(--ink-2); }
figcaption { font-size: .87rem; color: var(--muted); margin-top: 10px; }

/* lista artykułów */
.entries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
.entry { border-bottom: 1px solid var(--line); }
.entry a { display: grid; align-content: start; gap: 6px; padding: 22px 8px 22px 0; color: inherit; text-decoration: none; height: 100%; }
.entry-title { font-size: 1.3rem; font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin: 0; transition: color .15s; }
.entry-lead { margin: 0; color: var(--ink-2); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.entry-meta { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.entry a:hover .entry-title { color: var(--cobalt-ink); }

/* ramka sklepu */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 56px); margin: 2.5em 0;
}
.cta .rings { inset: auto -120px -160px auto; width: 420px; height: 420px; z-index: -1; opacity: .7; }
.cta .rings circle { animation: none; }
.cta-body { max-width: 34rem; }
.cta-title { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 .5em; }
.cta p:not(.cta-title) { color: #c9cacc; margin: 0 0 1.5em; }
.section-last .cta { margin: 0; }

/* podstrony */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 28px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 104px); }
.narrow { max-width: 780px; }

/* artykuł */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .progress { display: none; } }

.post-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(28px, 5vw, 56px) 0; }
.post-head-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.post-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 1.4rem 0 0; font-size: .9rem; color: var(--muted); }
.post-media figure { margin: 0; }
.post-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.post-media figure.small { background: var(--fog); border-radius: var(--r-lg); padding: 18px; }
.post-media figure.small img { aspect-ratio: auto; object-fit: contain; max-height: 300px; width: auto; margin: 0 auto; border-radius: var(--r-md); }

/* packshot produktu na białym tle: większy, bez przycinania */
.post-head--product .post-head-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post-head--product .post-media img { aspect-ratio: auto; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.post-head--product .post-media { max-width: none; }
.post-grid { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); padding-top: clamp(32px, 5vw, 56px); padding-bottom: 24px; }
.post-side { position: relative; }
.toc { position: sticky; top: 96px; }
.toc summary { font-weight: 600; font-size: .95rem; cursor: pointer; list-style: none; margin-bottom: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: .92rem; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--cobalt-ink); border-left-color: var(--cobalt); font-weight: 600; }

.prose { font-size: 1.08rem; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; padding-left: .2em; }
.prose li::marker { color: var(--cobalt); font-weight: 600; }
.prose h2 { margin: 2.2em 0 .55em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h3 { margin: 1.8em 0 .45em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--r-md); width: 100%; }
.prose figure.small { background: var(--surface); border-radius: var(--r-md); padding: 16px; }
.prose figure.small img { width: auto; max-height: 380px; margin: 0 auto; }
.prose blockquote, .note {
  margin: 1.8em 0; padding: 20px 24px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.prose blockquote { border-left: 4px solid var(--skin); }
.note { background: var(--cobalt-soft); border-color: transparent; }
.note p:last-child, .prose blockquote p:last-child { margin-bottom: 0; }
.note-title { font-weight: 600; color: var(--ink); margin-bottom: .35em !important; }
.table-wrap { overflow-x: auto; margin: 1.8em 0; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.45; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
tbody th { font-weight: 600; white-space: nowrap; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

.related { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 104px); }
.related h2 { margin-bottom: 24px; }
.shopbar { display: none; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border-radius: var(--r-md); margin-bottom: 10px; border: 1px solid transparent; transition: border-color .15s; }
.faq details[open] { border-color: var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 60px 20px 24px; font: 700 1.15rem/1.3 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23a4520a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { margin: 0; padding: 0 24px 22px; color: var(--ink-2); }

/* gdzie kupić */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shop-item { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; align-items: flex-start; }
.shop-item h3 { margin: 12px 0 .4em; font-size: 1.5rem; }
.shop-item p { color: var(--ink-2); margin: 0 0 1.4em; }
.shop-item .btn { margin-top: auto; }
.shop-item-featured { background: var(--navy); color: #fff; }
.shop-item-featured p { color: #c9cacc; }
.tag { display: inline-block; font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--cobalt-soft); color: var(--cobalt-ink); margin: 0; }
.shop-item-featured .tag { background: var(--skin); color: var(--navy); }
.after-shop { margin-top: clamp(40px, 6vw, 72px); }
.after-shop h2 { margin-bottom: .5em; }

/* stopka */
.site-footer { background: var(--navy); color: #b9bbbe; padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-about p:not(.logo) { max-width: 26rem; }
.logo-footer { color: #fff; margin: 0 0 16px; }
.footer-head { color: #fff; font-weight: 600; margin: 4px 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #b9bbbe; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 22px; font-size: .86rem; color: #9a9da1; }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 760px; }
  .toc { position: static; background: var(--surface); border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 32px; }
  .toc summary { margin: 0; display: flex; justify-content: space-between; }
  .toc summary::after { content: "Pokaż"; color: var(--cobalt-ink); font-weight: 500; }
  .toc details[open] summary { margin-bottom: 12px; }
  .toc details[open] summary::after { content: "Ukryj"; }
  .post-head-grid { grid-template-columns: minmax(0, 1fr); }
  .post-head--product .post-head-grid { grid-template-columns: minmax(0, 1fr); }
  .post-media { max-width: 560px; }
  .picker-grid { grid-template-columns: minmax(0, 1fr); }
  .result { position: static; }
  .signal { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: start; }
  .signal-link { text-align: left; padding: 10px 0 10px 64px; }
  .signal-link::before { left: 19px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1.5px dashed #5a5d62; }
  .signal-field::before { width: 10px; height: auto; left: 15px; background-size: 10px 14px; background-repeat: repeat-y; }
}

/* ---------- menu mobilne ---------- */
@media (max-width: 1180px) {
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
    font: 600 .95rem/1 var(--text); cursor: pointer;
  }
  .menu-icon, .menu-icon::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
  .menu-icon { position: relative; box-shadow: 0 -5px 0 currentColor; transform: translateY(2.5px); }
  .menu-icon::before { content: ""; position: absolute; top: 5px; }
  .menu-open .menu-icon { box-shadow: none; transform: rotate(45deg); }
  .menu-open .menu-icon::before { top: 0; transform: rotate(-90deg); }

  .js .nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 29;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px; background: var(--fog);
    border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(23, 25, 28, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility 0s .18s;
  }
  .js .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
  .js .nav a:not(.btn) { font-size: 1.15rem; padding: 14px 12px; border-radius: var(--r-sm); }
  .js .nav .btn { margin: 12px 0 0; min-height: 50px; }
  /* bez JS: menu jako przewijany pasek */
  .no-js .bar { flex-wrap: wrap; padding: 10px 0; }
  .no-js .nav { width: 100%; overflow-x: auto; }
}

/* ---------- telefon ---------- */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .bar { min-height: 60px; }
  .js .nav { inset: 60px 0 auto 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: none; }
  .field { max-width: 240px; order: -1; margin: 8px auto 12px; }
  .actions .btn { flex: 1 1 auto; }
  .seg { grid-template-columns: minmax(0, 1fr); }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .kind, .kind + .kind { padding: 24px 0 8px; border-left: 0; }
  .kind + .kind { border-top: 1px solid var(--line); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .entries { grid-template-columns: minmax(0, 1fr); }
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .prose { font-size: 1.03rem; }
  th, td { padding: 10px 12px; }
  .cta .rings { width: 300px; height: 300px; right: -120px; bottom: -140px; }
  .faq summary { padding: 18px 56px 18px 18px; font-size: 1.05rem; }
  .faq details > :not(summary) { padding: 0 18px 18px; }
  /* przycisk sklepu przyklejony do dołu ekranu w artykułach */
  .is-article .shopbar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 20;
    min-height: 52px; border-radius: 999px; background: var(--cobalt); color: var(--navy);
    font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(236, 149, 59, .55);
  }
  .is-article .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* przełącznik języka */
.lang { position: relative; margin-left: 4px; }
.lang summary {
  white-space: nowrap;
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: .9rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; list-style: none; margin: 0; padding: 6px;
  min-width: 190px; max-height: 70vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 20px 40px -20px rgba(23, 25, 28, .35);
}
.lang li a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: .95rem; }
.lang li a:hover { background: var(--fog); }
.lang li a[aria-current] { background: var(--cobalt-soft); font-weight: 600; }
.lang-code { display: inline-block; min-width: 1.6em; font-weight: 700; font-size: .8rem; letter-spacing: .02em; color: var(--cobalt-ink); }
.bar .lang { order: 2; }
.bar .nav { order: 1; }
.bar .menu-btn { order: 3; }
@media (max-width: 1180px) { .js .bar .lang { margin-left: auto; } .js .logo { margin-right: 0; } }

/* spis treści: pokaż/ukryj w języku strony */
@media (max-width: 1000px) {
:lang(en) .toc summary::after { content: "Show"; } :lang(en) .toc details[open] summary::after { content: "Hide"; }
:lang(it) .toc summary::after { content: "Mostra"; } :lang(it) .toc details[open] summary::after { content: "Nascondi"; }
:lang(es) .toc summary::after { content: "Mostrar"; } :lang(es) .toc details[open] summary::after { content: "Ocultar"; }
}
