/* Sylveco
   Kierunek: ekstremalnie estetycznie i monochromatycznie (czerń, biel, ciepła szarość),
   z jedynym kolorem w fotografii (naturalne osoby, ciepłe światło) i w pastelowych tłach
   za zdjęciami na stronie produktu (--tint). Kafelki produktów mają białe tło.
   Czcionka bezszeryfowa (Jost), proste narożniki, kafelki przytulone do siebie. */

:root {
  --paper: #FFFFFF;
  --soft: #F4F3F1;
  --ink: #0E0E0E;
  --muted: #6B6A68;
  --line: #E4E3E0;

  --t-blush: #F6E3E0;
  --t-lilac: #EBE3F2;
  --t-powder: #E0ECF1;
  --t-sage: #E0EADF;
  --t-peach: #FBE5D4;
  --t-butter: #F7EFCF;

  --f: "Jost", "Helvetica Neue", Arial, sans-serif;

  --hh: 76px;
  --pad: clamp(20px, 2.8vw, 48px);
  --section: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--f);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.lock { overflow: hidden; }

/* kwadratowy pasek przewijania (zamiast zaokrąglonego, systemowego) */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; border-radius: 0; }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 0; border: 0; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: var(--ink) transparent; scrollbar-width: thin; } }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, address, figure { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header:not(.solid) :focus-visible, .hero :focus-visible, .cat :focus-visible, .cat-hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 90; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip:focus { top: 12px; }

h1, h2 { font-weight: 300; letter-spacing: -.03em; }
h1 em, h2 em { font-style: italic; font-weight: 300; }

.label { font: 500 .75rem/1.3 var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.link {
  display: inline-block; padding: 0 0 6px; background: none; border: 0; border-bottom: 1.5px solid currentColor; cursor: pointer;
  font: 500 .75rem/1 var(--f); letter-spacing: .18em; text-transform: uppercase;
  transition: opacity .25s, transform .3s var(--ease);
}
.link:hover { opacity: .6; transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  padding: 1.1rem 2.4rem; background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
  font: 500 .75rem/1 var(--f); letter-spacing: .2em; text-transform: uppercase;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.btn:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- nagłówek: logo · menu · wyszukiwarka ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.js .site-header { position: fixed; left: 0; right: 0; }
.js .no-hero .site-header { position: sticky; }
.js .site-header:not(.solid) { background: transparent; color: #fff; border-bottom-color: transparent; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }

.header-in { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 56px); height: var(--hh); padding: 0 var(--pad); }
.wordmark { font: 500 1.5rem/1 var(--f); text-transform: uppercase; letter-spacing: .38em; white-space: nowrap; }
.nav { flex: 1; min-width: 0; }
.nav-top { display: flex; gap: clamp(14px, 1.9vw, 36px); }

.nav-trigger, .nav-link {
  position: relative; display: flex; align-items: center; height: var(--hh); background: none; border: 0; cursor: pointer;
  padding: 0; font: 500 .75rem/1 var(--f); letter-spacing: clamp(.1em, .9vw, .18em); text-transform: uppercase; white-space: nowrap;
}
.nav-trigger::before, .nav-link::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-trigger::after {
  content: ""; width: 5px; height: 5px; margin: -2px 0 0 9px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .3s var(--ease);
}
.nav-trigger:hover::before, .nav-link:hover::before, .has-mega.open > .nav-trigger::before { transform: scaleX(1); }
.has-mega.open > .nav-trigger::after { transform: rotate(-135deg); margin-top: 3px; }

form.search { display: flex; align-items: center; width: clamp(140px, 13vw, 220px); border-bottom: 1px solid currentColor; }
form.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: 300 .9375rem var(--f); padding: .55rem 0; outline: none; text-shadow: inherit; }
form.search input::placeholder { color: currentColor; opacity: .75; }
form.search button { background: none; border: 0; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
form.search svg, .tools svg { width: 21px; height: 21px; }
.tools { display: flex; gap: 2px; margin-left: -12px; }
.tools a { width: 42px; height: 42px; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .2s; }
.tools a:hover { transform: translateY(-2px); opacity: .65; }
.burger { display: none; }
.ic { width: 20px; height: 20px; flex: none; stroke-width: 1.3; }
.nav-trigger .ic, .nav-link .ic { display: none; }
.rail-btn .ic, .rail-link .ic { margin-right: 14px; }
.rail-btn > span { margin-right: auto; }
.rail .rail-link a { justify-content: flex-start; }

/* mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 65;
  background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 28px 48px rgba(0, 0, 0, .12); text-shadow: none;
  max-height: calc(100vh - var(--hh) - 16px); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s;
}
.has-mega.open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { max-width: 1360px; margin: 0 auto; padding: 36px var(--pad) 44px; }

.rail { display: grid; grid-template-columns: 270px 1fr; column-gap: clamp(32px, 4vw, 64px); align-content: start; min-height: 360px; }
.rail-item { display: contents; }
.rail-btn, .rail-link a {
  grid-column: 1; display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  padding: 1rem 1.1rem; background: none; border: 0; border-left: 3px solid transparent; cursor: pointer;
  font: 500 .8125rem/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s, border-color .25s;
}
.rail-btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); opacity: .5; }
.rail-btn:hover, .rail-link a:hover { background: var(--soft); }
.rail-item.is-active .rail-btn { background: var(--soft); border-left-color: var(--ink); }
.rail-panel { grid-column: 2; grid-row: 1 / span 12; display: none; align-content: start; }
.rail-item.is-active .rail-panel { display: block; animation: fade .35s var(--ease); }
.rail-panel h3 { font: 300 clamp(1.8rem, 2.6vw, 2.4rem)/1.1 var(--f); letter-spacing: -.02em; margin-bottom: 1.6rem; }
.rail-panel h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.rail-panel h3 i { font: 500 .6875rem/1 var(--f); letter-spacing: .18em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }

.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px clamp(20px, 2.4vw, 40px); }
.col h4 { font: 500 .6875rem/1.3 var(--f); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.col h4 + ul + h4 { margin-top: 1.6rem; }
.col h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.col li a { display: inline-block; padding: .26rem 0; font-size: 1rem; transition: opacity .2s, transform .3s var(--ease); }
.col li a:hover { opacity: .6; transform: translateX(4px); }
.col-needs { background: var(--soft); padding: 22px 24px 20px; align-self: start; }
.cols-brands { grid-template-columns: repeat(5, 1fr); }
.h-gap { margin-top: 1.6rem !important; }

.mega-foot { background: var(--soft); display: flex; justify-content: center; flex-wrap: wrap; gap: 8px clamp(20px, 3.4vw, 56px); padding: .95rem var(--pad); }
.mega-foot a { font: 500 .75rem/1 var(--f); letter-spacing: .18em; text-transform: uppercase; padding: .35rem 0; transition: opacity .2s; }
.mega-foot a:hover { opacity: .6; text-decoration: underline; text-underline-offset: 5px; }

.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .38); opacity: 0; transition: opacity .3s; pointer-events: none; }
.scrim.on { opacity: 1; }

/* ---------- hero: 3 banery, przenikanie, numery 1-3 ---------- */
.hero { --hero-fade: 1.4s; --hero-ms: 6s; position: relative; height: 100svh; min-height: 620px; max-height: 1100px; color: #fff; overflow: hidden; background: #111; }
.hero-slide { position: absolute; inset: 0; z-index: 1; }
html:not(.js) .hero-slide:not(:first-child) { display: none; }
.js .hero-slide { opacity: 0; visibility: hidden; transition: opacity 0s linear var(--hero-fade), visibility 0s linear var(--hero-fade); }
.js .hero-slide.is-on { z-index: 2; opacity: 1; visibility: visible; transition: opacity var(--hero-fade) ease-in-out; }
.hero-photos { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.hero-photos.is-single { grid-template-columns: 1fr; }
.hero-photos .hp { display: block; overflow: hidden; min-width: 0; }
.hero-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photos .hp:first-child img { object-position: 50% 14%; }
.hero-photos .hp:nth-child(2) img { object-position: 50% 12%; }
/* subtelne zbliżanie i oddalanie zdjęć (około 9%) */
@media (prefers-reduced-motion: no-preference) {
  .hero-photos img { animation: heroZoom 9s ease-in-out infinite alternate; will-change: transform; }
  .hero-photos .hp:nth-child(2) img { animation-delay: -4.5s; }
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .28) 14%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .6) 100%); }
.hero-title { position: absolute; left: var(--pad); bottom: clamp(76px, 10vh, 112px); max-width: 64%; font: 300 clamp(3.6rem, 9.4vw, 11rem)/.9 var(--f); letter-spacing: -.045em; }
.hero-card { position: absolute; right: var(--pad); bottom: clamp(76px, 10vh, 112px); width: min(370px, 34vw); background: #fff; color: var(--ink); padding: 28px 30px 30px; display: grid; gap: 12px; justify-items: start; }
/* tekst wchodzi dopiero, gdy zdjęcie jest już widoczne; schodzi szybciej niż zdjęcie */
.js .hero-title, .js .hero-card { opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .45s ease; }
.js .hero-slide.is-on .hero-title, .js .hero-slide.is-on .hero-card { opacity: 1; transform: none; transition: opacity 1s ease .5s, transform 1s var(--ease) .5s; }
.js .hero-slide.is-on .hero-card { transition-delay: .7s; }
.hero.is-start .hero-slide.is-on .hero-title, .hero.is-start .hero-slide.is-on .hero-card { animation: heroIn 1.1s var(--ease) .15s both; }
.hero.is-start .hero-slide.is-on .hero-card { animation-delay: .35s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero-dots { position: absolute; z-index: 5; right: var(--pad); top: calc(var(--hh) + 20px); display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
html:not(.js) .hero-dots { display: none; }
.hero-dots button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: rgba(8, 8, 8, .18); border: 0; border-radius: 50%; color: #fff; cursor: pointer; font: 500 .8125rem/1 var(--f); letter-spacing: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero-dots .n { position: relative; z-index: 1; display: block; margin: 0; opacity: .72; transition: opacity .3s; }
.hero-dots button:hover .n, .hero-dots .is-on .n { opacity: 1; }
/* pierścień postępu: obwódka kółka wypełnia się w czasie trwania slajdu (--hero-ms) */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero-dots .bar { position: absolute; inset: 0; display: block; border-radius: 50%; background: conic-gradient(#fff calc(var(--a) - .6deg), rgba(255, 255, 255, .4) calc(var(--a) + .6deg)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 1.8px), #000 calc(100% - .7px), transparent 100%); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 1.8px), #000 calc(100% - .7px), transparent 100%); transform: translateZ(0); }
.hero-dots .bar i { display: none; }
.hero-dots .is-on .bar { animation: heroBar var(--hero-ms) linear forwards; }
.hero.is-paused .hero-dots .is-on .bar { animation-play-state: paused; }
@keyframes heroBar { to { --a: 360deg; } }
.hero-card .label { color: var(--muted); }
.hero-card-text { font-size: 1.0625rem; line-height: 1.5; font-weight: 300; margin-bottom: 8px; }

/* ---------- kafelek produktu: tło, nazwa, gwiazdki, cena, koszyk ---------- */
.ptile { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tp-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.06; background: #fff; overflow: hidden; }
.tp-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.ptile:hover .tp-media img { transform: scale(1.07) translateY(-4px); }
.tp-badges { position: absolute; top: 14px; left: 14px; display: grid; gap: 4px; justify-items: start; }
.tp-badges span { background: var(--ink); color: #fff; padding: 5px 9px; font: 500 .625rem/1 var(--f); letter-spacing: .16em; text-transform: uppercase; }
.tp-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.tp-brand { font: 500 .6875rem/1.3 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tp-name { font: 400 1rem/1.3 var(--f); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tp-name small { color: var(--muted); font-size: .875rem; white-space: nowrap; margin-left: 4px; }
.tp-name a { transition: opacity .2s; }
.tp-name a:hover { opacity: .6; }
.tp-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: auto 0 8px; padding-top: 2px; }
.tp-rate { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.stars { --r: 5; display: inline-block; font-size: .95rem; letter-spacing: .1em; line-height: 1; background: linear-gradient(90deg, var(--ink) calc(var(--r) * 20%), #D4D3D0 0); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.tp-price { font-size: 1.0625rem; font-weight: 500; letter-spacing: .01em; }
.tp-price del { color: var(--muted); font-weight: 300; font-size: .9375rem; margin-right: 6px; }
.tp-add {
  display: block; padding: .8rem 1rem; text-align: center; background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
  font: 500 .75rem/1 var(--f); letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .25s, color .25s;
}
a.tp-add:hover { background: #fff; color: var(--ink); }
.tp-add.is-off { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }

/* ---------- półka z produktami (karuzela bez odstępów) ---------- */
.shelf { padding-top: clamp(32px, 4vw, 64px); }
.shelf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 var(--pad) 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.shelf-title { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 clamp(22px, 3vw, 48px); }
.tab { display: block; padding: 1rem 0; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font: 500 .75rem/1 var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .25s, border-color .25s; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.shelf-right { display: flex; align-items: center; gap: 28px; }
.arrows { display: flex; gap: 2px; }
.arrows button { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s; }
.arrows button:hover { background: var(--ink); color: #fff; }
.arrows svg { width: 22px; height: 22px; }

.slider { display: flex; gap: 0; margin: 28px 0 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1px solid var(--line); }
.slider::-webkit-scrollbar { display: none; }
.slider > li { flex: 0 0 clamp(250px, 23vw, 350px); scroll-snap-align: start; }

/* ---------- narzędzia w nagłówku sekcji ---------- */
.section-tools { display: flex; align-items: center; gap: 28px; padding-bottom: 6px; }

/* ---------- filmy z Instagrama: karuzela z aktywnym filmem na środku ---------- */
.insta { padding-top: var(--section); }
.vk { --vkw: clamp(230px, 19.5vw, 300px); position: relative; background: var(--soft); padding: clamp(28px, 3vw, 44px) 0 clamp(8px, 1vw, 16px); }
.vk-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px calc(50% - var(--vkw) / 2) 20px; cursor: grab; }
.vk-track::-webkit-scrollbar { display: none; }
.vk-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.vk-slide { position: relative; flex: 0 0 var(--vkw); scroll-snap-align: center; background: var(--ink); transform: scale(.86); opacity: .55; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.vk-slide.on { transform: none; opacity: 1; }
.reel { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--ink); }
.reel iframe { position: absolute; left: 0; top: 0; width: 340px; height: 800px; border: 0; background: var(--ink); transform-origin: 0 0; }
.vk-cover { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: transparent; }
.vk-slide.on .vk-cover { display: none; }
.vk-arrow { position: absolute; top: 50%; z-index: 4; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; background: #fff; color: var(--ink); border: 0; cursor: pointer; transition: background-color .25s, color .25s; }
.vk-arrow:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.vk-arrow svg { width: 22px; height: 22px; }
.vk-prev { left: var(--pad); }
.vk-next { right: var(--pad); }
.vk-dots { display: flex; justify-content: center; align-items: center; padding: 6px var(--pad) 0; }
.vk-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.vk-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 99px; background: var(--line); transition: width .3s var(--ease), margin .3s var(--ease), background-color .3s; }
.vk-dots button:hover::before { background: var(--muted); }
.vk-dots button.on { width: 40px; }
.vk-dots button.on::before { width: 26px; margin-left: -13px; background: var(--ink); }
.vk-dots, .vk-cta { background: var(--soft); }
.vk { padding-bottom: 0; }
.vk-cta { display: flex; justify-content: center; padding: clamp(18px, 2.4vw, 28px) var(--pad) clamp(28px, 3.4vw, 48px); }

/* ---------- marki: wolno przesuwające się logotypy, bez ramek ---------- */
.brands { padding: clamp(12px, 1.6vw, 24px) 0 clamp(4px, .6vw, 10px); }
.shelf + .brands { margin-top: clamp(32px, 4vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.brands-title { padding: 0 var(--pad); margin-bottom: clamp(12px, 1.6vw, 24px); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.brands-title a { display: inline-block; transition: opacity .3s, transform .5s var(--ease); }
.brands-title a:hover { opacity: .6; transform: translateX(8px); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 75s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; align-items: center; }
.marquee li a { display: grid; place-items: center; height: 64px; padding: 0 clamp(22px, 2.8vw, 46px); }
.marquee img { width: auto; height: clamp(20px, 2vw, 31px); max-width: 144px; object-fit: contain; filter: brightness(0); opacity: .9; transition: opacity .3s, transform .5s var(--ease); }
.marquee li a:hover img { opacity: 1; transform: scale(1.07); }

/* ---------- nagłówki sekcji ---------- */
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--pad); margin-bottom: clamp(28px, 3.6vw, 56px); }
.section-title h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; }

/* ---------- kategorie: zdjęcia od krawędzi do krawędzi ---------- */
.cats { padding-top: var(--section); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cat { position: relative; display: block; height: clamp(520px, 88vh, 900px); overflow: hidden; color: #fff; background: #222; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .66) 100%); }
.cat:hover img { transform: scale(1.09); }
.cat-copy { position: absolute; z-index: 2; left: clamp(22px, 2.6vw, 44px); right: 24px; bottom: clamp(26px, 3.6vw, 52px); display: grid; gap: 10px; justify-items: start; }
.cat-copy b { font: 300 clamp(2.4rem, 4.2vw, 4.4rem)/1 var(--f); letter-spacing: -.025em; }
.cat-copy > span { font-size: 1rem; font-weight: 300; opacity: .95; margin-bottom: 8px; }
.cat:hover .cat-copy .link { transform: translateX(6px); }
.cat-grid-4 { grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .0); }
.cat-grid-4 .cat { height: clamp(400px, 66vh, 680px); }
.cat-grid-4 .cat-copy b { font-size: clamp(1.9rem, 2.9vw, 3.1rem); }

/* ---------- o nas ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--section); min-height: clamp(560px, 84vh, 900px); }
.story-photo { position: relative; overflow: hidden; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-text { background: var(--soft); display: flex; align-items: center; padding: clamp(40px, 7vw, 130px); }
.story-in { max-width: 560px; display: grid; gap: 1.6rem; justify-items: start; }
.story h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: 1; }
.story-p { font-size: 1.125rem; font-weight: 300; max-width: 34em; }

/* ---------- marki ---------- */
.brand-list { --in: 22px; margin: 0 var(--pad); border-top: 1px solid var(--line); }
.brand-list li { border-bottom: 1px solid var(--line); }
.brand-list a { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: baseline; gap: 24px; margin: 0 calc(var(--in) * -1); padding: clamp(16px, 2vw, 30px) var(--in); transition: background-color .35s; }
.bn { font: 300 clamp(2rem, 4.6vw, 4.6rem)/1.05 var(--f); letter-spacing: -.035em; transition: transform .6s var(--ease); }
.bs { font-size: .9375rem; color: var(--muted); }
.brand-list a:hover { background: var(--soft); }
.brand-list a:hover .bn { transform: translateX(14px); }

/* ---------- newsletter ---------- */
.news { position: relative; margin-top: var(--section); display: grid; place-items: center; padding: clamp(80px, 13vw, 200px) var(--pad); overflow: hidden; background: #111; }
.news-bg { position: absolute; inset: 0; }
.news-bg img { width: 100%; height: 100%; object-fit: cover; }
.news-card { position: relative; width: min(640px, 100%); background: rgba(255, 255, 255, .95); padding: clamp(36px, 5vw, 72px); text-align: center; display: grid; justify-items: center; gap: 1.1rem; }
.news-card h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; }
.news-card p { color: var(--muted); font-weight: 300; font-size: 1.125rem; margin-bottom: .6rem; }

/* ---------- stopka (czarna) ---------- */
.site-footer { background: #0A0A0A; color: #EDEDED; overflow: hidden; }
.foot-grid { padding: clamp(56px, 7vw, 100px) var(--pad) clamp(44px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; grid-template-areas: "brand c1 c2 c3" "social c1 c2 c3"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 4vw, 64px); }
.foot-brand { grid-area: brand; }
.foot-brand .wordmark { display: inline-block; font-size: 1.5rem; color: #fff; }
.foot-name { margin-top: 1.4rem; font: 500 .75rem/1.4 var(--f); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.foot-tag { margin-top: .5rem; opacity: .7; max-width: 26ch; font-weight: 300; }
.site-footer address { margin-top: 1rem; opacity: .75; font-weight: 300; line-height: 1.6; }
.fcol:nth-of-type(1) { grid-area: c1; } .fcol:nth-of-type(2) { grid-area: c2; } .fcol:nth-of-type(3) { grid-area: c3; }
.fcol h3 { margin: 0; }
.fcol-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 0 .95rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); color: #fff; font: 500 .75rem/1.2 var(--f); letter-spacing: .22em; text-transform: uppercase; text-align: left; cursor: default; }
.fcol-chev { display: none; width: 20px; height: 20px; stroke-width: 1.4; transition: transform .35s var(--ease); }
.fcol-b { display: grid; grid-template-rows: 1fr; }
.fcol-in { overflow: hidden; }
.fcol ul { padding-top: 1.1rem; }
.site-footer li a, .site-footer address a { display: inline-block; padding: .28rem 0; font-size: .9375rem; opacity: .75; transition: opacity .2s, transform .3s var(--ease); }
.site-footer li a:hover, .site-footer address a:hover { opacity: 1; transform: translateX(3px); }
.social { grid-area: social; align-self: start; display: flex; gap: 6px; margin: 1.4rem 0 0 -10px; padding: 0; list-style: none; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; opacity: .85; transition: opacity .25s, transform .3s var(--ease); }
.social a:hover { opacity: 1; transform: translateY(-3px); }
.social svg { width: 22px; height: 22px; stroke-width: 1.3; }
.foot-legal { padding: 22px var(--pad) 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .875rem; opacity: .65; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   STRONA KATEGORII
   ===================================================== */
.cat-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 58vh, 620px); padding-top: var(--hh); color: #fff; overflow: hidden; background: #222; }
.cat-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .28) 14%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, .66) 100%); }
.cat-hero-in { position: relative; width: 100%; padding: 28px var(--pad) clamp(28px, 4vw, 52px); display: grid; gap: 14px; }
.cat-hero h1 { font-size: clamp(3.2rem, 8.4vw, 9rem); line-height: .9; letter-spacing: -.04em; }
.cat-lead { max-width: 52ch; font-size: 1.0625rem; font-weight: 300; opacity: .95; }
.cat-lead strong { font-weight: 600; }


.plp { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.filters { position: sticky; top: var(--hh); max-height: calc(100vh - var(--hh)); overflow-y: auto; border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; outline: none; }
.filters-head { display: none; }
.filters-body { padding: 8px var(--pad) 12px; padding-left: max(var(--pad), 24px); padding-right: 24px; flex: 1; }
.fg { border-bottom: 1px solid var(--line); }
.fg summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 1.1rem 0; font: 500 .75rem/1 var(--f); letter-spacing: .2em; text-transform: uppercase; }
.fg summary::-webkit-details-marker { display: none; }
.fg summary::after { content: "+"; font-size: 1.125rem; font-weight: 300; letter-spacing: 0; }
.fg[open] summary::after { content: "−"; }
.fl { padding: 0 0 1.1rem; }
.fl-kat { max-height: none; }
.fsub { margin-bottom: .6rem; }
.fsub > b { display: block; margin: .6rem 0 .2rem; font: 500 .6875rem/1.3 var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chk { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: .34rem 0; cursor: pointer; font-size: .9375rem; }
.chk input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.chk-box { position: relative; width: 16px; height: 16px; border: 1.5px solid var(--ink); background: #fff; transition: background-color .15s; }
.chk-box::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 9px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(40deg) scale(0); transition: transform .15s; }
.chk input:checked + .chk-box { background: var(--ink); }
.chk input:checked + .chk-box::after { transform: rotate(40deg) scale(1); }
.chk input:focus-visible + .chk-box { outline: 2px solid var(--ink); outline-offset: 3px; }
.chk em { font-style: normal; color: var(--muted); font-size: .8125rem; }
.chk:hover .chk-t { text-decoration: underline; text-underline-offset: 3px; }
.fprice { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; padding-bottom: 1.2rem; }
.fprice label { display: grid; gap: 4px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fprice input { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); background: #fff; font: 400 .9375rem var(--f); color: var(--ink); outline: none; }
.fprice input:focus { border-color: var(--ink); }
.fprice i { padding-bottom: .7rem; font-style: normal; }
.filters-foot { position: sticky; bottom: 0; background: #fff; padding: 14px 24px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; }
.filters-foot .btn { display: none; width: 100%; }
.clear { background: none; border: 0; cursor: pointer; padding: 0 0 5px; border-bottom: 1.5px solid currentColor; font: 500 .6875rem/1 var(--f); letter-spacing: .18em; text-transform: uppercase; transition: opacity .2s; }
.clear:hover { opacity: .6; }
.filters-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .45); }

.results { min-width: 0; }
.results-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.filters-open { display: none; align-items: center; gap: 8px; padding: .8rem 1.2rem; background: #fff; border: 1.5px solid var(--ink); cursor: pointer; font: 500 .75rem/1 var(--f); letter-spacing: .16em; text-transform: uppercase; }
.count { font-size: .9375rem; color: var(--muted); }
.count b { color: var(--ink); font-weight: 500; }
.sort { display: flex; align-items: center; gap: 12px; font: 500 .75rem/1 var(--f); letter-spacing: .16em; text-transform: uppercase; }
.sort select { appearance: none; -webkit-appearance: none; padding: .75rem 2.4rem .75rem 1rem; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%230E0E0E' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; font: 400 .9375rem var(--f); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.sort select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 24px; }
.active:not(:empty) { padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.achip { display: inline-flex; align-items: center; gap: 10px; padding: .45rem .5rem .45rem .85rem; background: var(--soft); font-size: .8125rem; }
.achip button { width: 22px; height: 22px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.achip button:hover { background: var(--ink); color: #fff; }
.achip svg { width: 12px; height: 12px; stroke-width: 2; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-left: 0; }
.pgrid .ptile { border-top: 0; }
.empty { padding: 64px 24px; text-align: center; font-size: 1.125rem; font-weight: 300; }
.empty .link { margin-left: 8px; }
.more { display: grid; justify-items: center; gap: 14px; padding: 44px 24px 64px; border-top: 1px solid var(--line); }
.more-info { font-size: .875rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- dolne menu (telefon) ---------- */
.bottomnav { display: none; }

/* ---------- ruch ---------- */
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes show { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease) calc(var(--d, 0) * 120ms), transform 1.1s var(--ease) calc(var(--d, 0) * 120ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-reveal]:not(.in) { animation: show 0s 2.5s forwards; }
}

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 1280px) {
  .cols, .cols-brands { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-template-columns: 230px 1fr; }
  .header-in { gap: clamp(20px, 2.4vw, 36px); }
  .nav-top { gap: 22px; }
  .wordmark { font-size: 1.3rem; letter-spacing: .32em; }
  .plp { grid-template-columns: 270px minmax(0, 1fr); }
}

/* osiem pozycji menu: na węższych ekranach desktopu zagęszczamy pasek, żeby nic nie nachodziło na wyszukiwarkę */
@media (max-width: 1560px) and (min-width: 1021px) {
  .header-in { gap: clamp(16px, 1.8vw, 32px); }
  .wordmark { font-size: 1.3rem; letter-spacing: .3em; }
  .nav-top { gap: clamp(12px, 1.5vw, 26px); }
  .nav-trigger, .nav-link { font-size: .6875rem; letter-spacing: clamp(.07em, .5vw, .13em); }
  .nav-trigger::after { margin-left: 6px; }
  form.search { width: clamp(96px, 8vw, 150px); }
  .tools { margin-left: -6px; }
}
@media (max-width: 1180px) and (min-width: 1021px) {
  .wordmark { font-size: 1.1rem; letter-spacing: .22em; }
  .header-in { gap: 14px; }
  form.search { width: 76px; }
  .nav-top { gap: 10px; }
  .nav-trigger, .nav-link { letter-spacing: .05em; }
}

@media (max-width: 1020px) {
  :root { --hh: 64px; }
  body { padding-bottom: 66px; }
  .header-in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "burger mark tools" "search search search"; grid-template-rows: var(--hh) auto; align-items: center; gap: 0; height: auto; }
  .burger { grid-area: burger; justify-self: start; display: grid; align-content: center; justify-items: center; gap: 7px; width: 44px; height: 44px; margin-left: -10px; background: none; border: 0; padding: 0; cursor: pointer; }
  .burger span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .site-header.menu-open .burger span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .site-header.menu-open .burger span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .header-in .wordmark { grid-area: mark; padding-left: .32em; }
  .tools { grid-area: tools; justify-self: end; margin: 0 -10px 0 0; }
  form.search { grid-area: search; display: none; width: 100%; margin: 0 0 12px; }
  .site-header.menu-open form.search { display: flex; }

  .nav { display: none; }
  .site-header.menu-open .nav, html:not(.js) .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--hh) - 130px); overflow-y: auto; background: #fff; color: var(--ink); box-shadow: 0 24px 40px rgba(0, 0, 0, .12); text-shadow: none; }
  .nav-top { display: block; padding: 0 var(--pad) 12px; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-trigger, .nav-link { width: 100%; height: auto; padding: 1.1rem 0; justify-content: flex-start; gap: 16px; }
  .nav-trigger .ic, .nav-link .ic { display: block; }
  .nav-trigger::after { margin-left: auto; }
  .nav-trigger::before, .nav-link::before { display: none; }
  .has-mega.open > .nav-trigger::after { margin: 0 0 0 auto; }

  .mega { position: static; max-height: none; overflow: visible; box-shadow: none; border-top: 0; opacity: 1; visibility: visible; transform: none; display: none; transition: none; background: transparent; }
  .has-mega.open > .mega { display: block; }
  .mega-inner { padding: 0 0 16px; }
  .rail { display: block; min-height: 0; }
  .rail-item { display: block; }
  .rail-btn, .rail-link a { padding: .95rem 0 .95rem 14px; border-left: 3px solid var(--line); margin-bottom: 4px; }
  .rail-item.is-active .rail-btn { background: transparent; border-left-color: var(--line); }
  .rail-item.is-open .rail-btn { border-left-color: var(--ink); }
  .rail-item.is-open .rail-btn::after { transform: rotate(135deg); }
  .rail-item.is-active .rail-panel { display: none; }
  .rail-item.is-open .rail-panel { display: block; padding: 8px 0 18px 17px; }
  .rail-panel h3 { font-size: 1.4rem; margin-bottom: 1rem; }
  .cols, .cols-brands { grid-template-columns: 1fr 1fr; }
  .col-needs { grid-column: 1 / -1; }
  .mega-foot { justify-content: flex-start; padding: .8rem 0; background: transparent; }
  .mega-foot a { margin-right: 18px; }
  .scrim { z-index: 59; background: rgba(8, 8, 8, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .scrim.on { pointer-events: auto; }

  .hero { height: 88svh; min-height: 560px; }
  .hero-slide { display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-dots { top: calc(var(--hh) + 14px); gap: 10px; }
  .hero-dots button { width: 40px; height: 40px; }
  .hero-photos { grid-template-columns: 1fr; }
  .hero-photos .hp:nth-child(2) { display: none; }
  .hero-title { position: relative; left: auto; bottom: auto; max-width: 90%; padding: 0 var(--pad) 28px; z-index: 2; }
  .hero-card { position: relative; right: auto; bottom: auto; z-index: 2; width: 100%; padding: 22px var(--pad) 26px; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat { height: min(78vh, 640px); }
  .cat-grid-4 { grid-template-columns: 1fr 1fr; }
  .cat-grid-4 .cat { height: min(52vh, 440px); }
  .cat-grid-4 .cat-copy > span { display: none; }
  .cat-grid-4 .cat-copy b { font-size: 1.7rem; }
  .story { grid-template-columns: 1fr; }
  .story-photo { min-height: 64vh; }
  .brand-list a { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; grid-template-areas: "brand" "c1" "c2" "c3" "social"; grid-template-rows: none; text-align: center; }
  .foot-tag, .foot-brand .foot-tag { margin-left: auto; margin-right: auto; max-width: none; }
  .fcol { border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .fcol:nth-of-type(1) { margin-top: clamp(28px, 6vw, 44px); border-top: 1px solid rgba(255, 255, 255, .2); }
  .fcol-h { justify-content: center; gap: 10px; padding: 1.05rem 0; border-bottom: 0; cursor: pointer; font-size: .8125rem; }
  .fcol-chev { display: block; }
  .js .fcol-b { grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .js .fcol.open .fcol-b { grid-template-rows: 1fr; }
  .fcol.open .fcol-chev { transform: rotate(180deg); }
  .fcol ul { padding-top: 0; padding-bottom: 1rem; }
  .site-footer li a { padding: .5rem 0; }
  .social { justify-content: center; margin: clamp(24px, 5vw, 36px) 0 0; }
  .foot-legal { justify-content: center; text-align: center; }

  /* kategoria: filtry w szufladzie */
  .plp { display: block; }
  .filters { position: fixed; inset: 0; z-index: 80; width: 100%; max-width: 440px; max-height: none; border-right: 0; transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: 0 0 60px rgba(0, 0, 0, .25); }
  .filters.open { transform: none; visibility: visible; transition-delay: 0s; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .filters-head h2 { font: 300 1.75rem/1 var(--f); letter-spacing: -.02em; }
  .filters-close { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
  .filters-close svg { width: 22px; height: 22px; }
  .filters-foot .btn { display: inline-flex; }
  .filters-open { display: inline-flex; }
  .results-top { flex-wrap: wrap; padding: 14px var(--pad); }
  .count { order: 3; flex: 1 1 100%; }
  .sort span { display: none; }
  .active { padding: 0 var(--pad); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }

  /* dolne menu */
  .bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: flex; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bottomnav > * { flex: 1; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 58px; padding: 8px 2px 7px; background: none; border: 0; cursor: pointer; font: 500 .625rem/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); position: relative; transition: background-color .2s; }
  .bottomnav > *:active { background: var(--soft); }
  .bottomnav svg { width: 22px; height: 22px; }
}

@media (max-width: 620px) {
  .hero-title { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .shelf-head { align-items: baseline; gap: 12px; padding-bottom: 12px; }
  .shelf-right { gap: 0; }
  .arrows { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 26px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
  .slider > li { flex-basis: 50vw; }
  .vk { --vkw: 72vw; }
  .vk-arrow { width: 42px; height: 42px; margin-top: -21px; }
  .vk-prev { left: 8px; }
  .vk-next { right: 8px; }
  .marquee li a { height: 56px; padding: 0 22px; }
  .marquee-track { animation-duration: 55s; }
  .section-title { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cols, .cols-brands { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tp-body { padding: 12px 12px 14px; gap: 3px; }
  .tp-name { font-size: .9375rem; }
  .tp-meta { flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 6px; }
  .tp-price { font-size: 1rem; }
  .tp-add { padding: .75rem .5rem; font-size: .6875rem; letter-spacing: .1em; }
  .tp-badges { top: 10px; left: 10px; }
  .cat-hero h1 { font-size: clamp(3rem, 18vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .btn, .tools a, .tp-media img, .cat img, .bn, .mega, .site-header, .filters { transition: none; }
  .hero { --hero-fade: .01s; }
  .js .hero-slide .hero-title, .js .hero-slide .hero-card { transition: none !important; transform: none !important; animation: none !important; }
  .hero-dots .is-on .bar { animation: none; --a: 360deg; }
}

/* =====================================================
   STRONA PRODUKTU
   ===================================================== */

.pdp-top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; }
.pdp-gallery { position: sticky; top: var(--hh); width: 100%; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 1fr); grid-template-areas: "st th"; gap: 0; padding: 0; align-items: start; }
.pdp-gallery .pdp-stage { grid-area: st; }
.pdp-gallery .pdp-thumbs { grid-area: th; flex-direction: column; overflow-x: hidden; overflow-y: auto; align-self: stretch; contain: size; border-top: 0; gap: 0; scrollbar-width: none; }
.pdp-gallery .pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-gallery .pdp-thumbs { position: relative; }
.pdp-gallery .pdp-thumbs.has-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent); }
.pdp-gallery .pdp-thumbs li { flex: 0 0 auto; width: 100%; }
.pdp-gallery .pdp-thumbs button { border: 0; }
.pdp-stage { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.pdp-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pdp-stage > img.is-pack { inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.pdp-stage > img.is-fade { opacity: 0; }
.pdp-stage .tp-badges { top: 18px; left: 18px; z-index: 2; }
.pdp-prev, .pdp-next { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; background: #fff; border: 0; cursor: pointer; transition: background-color .25s, color .25s; }
.pdp-prev { left: 0; } .pdp-next { right: 0; }
.pdp-prev:hover, .pdp-next:hover { background: var(--ink); color: #fff; }
.pdp-prev svg, .pdp-next svg { width: 22px; height: 22px; }
.pdp-stage { touch-action: pan-y; }
.pdp-count { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 5px 10px; background: rgba(255, 255, 255, .85); font: 500 .6875rem/1 var(--f); letter-spacing: .12em; color: var(--ink); display: none; }
@media (max-width: 1020px) {
  .pdp-prev, .pdp-next { display: none; }
  .pdp-count { display: block; }
}
.pdp-thumbs { display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid #fff; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs li { flex: 0 0 calc(100% / 6); }
.pdp-thumbs button { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; background: #fff; border: 0; border-right: 1px solid #fff; cursor: pointer; opacity: .62; transition: opacity .25s; }
.pdp-thumbs button:hover, .pdp-thumbs button.is-on { opacity: 1; }
.pdp-thumbs button.is-on::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs .is-pack img { object-fit: contain; padding: 12%; }

.pdp-info { display: grid; gap: 20px; align-content: start; padding: clamp(28px, 4vw, 64px) var(--pad) clamp(40px, 5vw, 72px) clamp(28px, 4vw, 72px); }
.pdp-info h1 { font-size: clamp(2.2rem, 3.6vw, 3.8rem); line-height: 1.02; }
.pdp-rate { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--muted); }
.pdp-rate .stars { font-size: 1.05rem; }
.pdp-rate i { font-style: normal; text-decoration: underline; text-underline-offset: 4px; }
a.pdp-rate:hover i { color: var(--ink); }
.pdp-price { display: flex; align-items: baseline; gap: 14px; font-size: 1.9rem; }
.pdp-price b { font-weight: 500; letter-spacing: -.01em; }
.pdp-price del { color: var(--muted); font-size: 1.15rem; font-weight: 300; }
.pdp-omni { margin-top: -10px; font-size: .8125rem; color: var(--muted); }
.pdp-short { font-size: 1.125rem; font-weight: 300; max-width: 46ch; }
.pdp-facts { margin: 0; border-top: 1px solid var(--line); }
.pdp-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pdp-facts dt { font: 500 .6875rem/1.6 var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pdp-facts dd { margin: 0; }
.pdp-buy { display: flex; gap: 12px; align-items: stretch; }
.qty { display: flex; border: 1.5px solid var(--ink); background: #fff; }
.qty button { width: 46px; background: #fff; border: 0; cursor: pointer; font-size: 1.3rem; line-height: 1; transition: background-color .2s, color .2s; }
.qty button:hover { background: var(--ink); color: #fff; }
.qty input { width: 52px; text-align: center; border: 0; background: transparent; font: 500 1rem var(--f); color: var(--ink); outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-add { flex: 1; min-height: 56px; }
.pdp-add.is-off { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.pdp-trust { display: grid; gap: 10px; margin-top: 2px; }
.pdp-trust li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; }
.pdp-trust svg { width: 22px; height: 22px; flex: none; stroke-width: 1.3; }
.pdp-trust .is-off { color: var(--muted); }

.accs { margin-top: 10px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 1.2rem 0; font: 500 .75rem/1 var(--f); letter-spacing: .2em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.25rem; font-weight: 300; letter-spacing: 0; }
.acc[open] summary::after { content: "−"; }
.acc-body { padding: 0 0 1.5rem; font-size: 1rem; line-height: 1.7; color: #2b2b2b; }
.acc-body p + p, .acc-body ul, .acc-body p + ul { margin-top: .8rem; }
.acc-body ul { padding-left: 1.2rem; list-style: square; }
.acc-body li { margin-bottom: .5rem; }
.acc-list { padding-left: 1.4rem; list-style: decimal; }
.acc-inci { font-size: .875rem; line-height: 1.75; }
.acc-note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.acc-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.acc-table th, .acc-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.acc-table th { width: 42%; padding-right: 14px; font-weight: 500; color: var(--muted); }
.acc-body a { text-decoration: underline; text-underline-offset: 3px; }

.pdp-story { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: var(--section); }
.story-b { padding: clamp(36px, 5vw, 84px); background: var(--soft); border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
.story-b:nth-child(2), .story-b:nth-child(3) { background: var(--tint, var(--t-blush)); }
.story-b h3 { font: 300 clamp(1.7rem, 2.6vw, 2.6rem)/1.1 var(--f); letter-spacing: -.02em; margin-bottom: 1rem; }
.story-b p { max-width: 46ch; font-size: 1.0625rem; font-weight: 300; }

.pdp-reviews { padding-top: var(--section); }
.pdp-reviews .section-title { flex-wrap: wrap; align-items: center; }
.pdp-reviews .section-title h2 { margin-right: auto; }
.rv-sum { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.rv-sum b { font: 300 3rem/1 var(--f); color: var(--ink); letter-spacing: -.03em; }
.rv-sum .stars { font-size: 1.1rem; }
.rv-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.rv { padding: clamp(24px, 3vw, 44px) var(--pad); border-bottom: 1px solid var(--line); }
.rv:nth-child(odd) { border-right: 1px solid var(--line); }
.rv-top { display: flex; align-items: center; gap: 14px; }
.rv-top .stars { font-size: 1rem; }
.rv-top em { font: 500 .625rem/1 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.rv-text { margin: .9rem 0 1.1rem; font-size: 1.0625rem; font-weight: 300; }
.rv-by { display: flex; gap: 12px; font-size: .875rem; color: var(--muted); }
.rv-by b { color: var(--ink); font-weight: 500; }
.rv-empty { padding: 28px var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 300; font-size: 1.125rem; }

.pdp-more .section-title { margin-bottom: clamp(24px, 3vw, 40px); }
.pdp-bar { display: none; }

@media (max-width: 1020px) {
  .pdp-top { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; width: 100%; display: block; padding: 0; }
  .pdp-gallery .pdp-thumbs { flex-direction: row; overflow-x: auto; overflow-y: hidden; contain: none; align-self: auto; border-top: 1px solid #fff; gap: 0; }
  .pdp-gallery .pdp-thumbs.has-more { -webkit-mask-image: none; mask-image: none; }
  .pdp-gallery .pdp-thumbs li { flex: 0 0 22%; width: auto; }
  .pdp-gallery .pdp-thumbs button { border: 0; border-right: 1px solid #fff; }
  .pdp-info { padding: 28px var(--pad) 40px; }
  .pdp-thumbs li { flex-basis: 22%; }
  .pdp-story, .rv-grid { grid-template-columns: 1fr; }
  .rv:nth-child(odd) { border-right: 0; }
  .story-b:nth-child(2), .story-b:nth-child(3) { background: var(--soft); }
  .story-b:nth-child(even) { background: var(--tint, var(--t-blush)); }
  .pdp-bar { position: fixed; left: 0; right: 0; bottom: 58px; z-index: 57; display: flex; align-items: center; gap: 14px; padding: 10px var(--pad); background: #fff; border-top: 1px solid var(--line); }
  .pdp-bar[hidden] { display: none; }
  .pdp-bar div { display: grid; min-width: 0; flex: 1; }
  .pdp-bar b { font-weight: 500; font-size: 1.1rem; }
  .pdp-bar span { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp-bar .btn { padding: .95rem 1.4rem; }
}
@media (max-width: 620px) {
  .pdp-facts div { grid-template-columns: 112px 1fr; }
  .pdp-price { font-size: 1.6rem; }
}

/* filtry: wartości bez wyników i długie listy */
.chk-t { min-width: 0; }
.fl li.is-zero { display: none; }
.fl li[hidden] { display: none; }
.fl-toggle { margin: -.4rem 0 1.1rem; padding: 0; border: 0; background: none; font: 500 .8125rem/1 var(--f); letter-spacing: .08em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.fl-toggle[hidden] { display: none; }
.fl-more { max-height: none; }

/* linki INCI na karcie produktu */
.acc-inci .inci-l { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.35); transition: text-decoration-color .2s; }
.acc-inci .inci-l:hover { text-decoration-color: currentColor; }

/* ===== Wasze opinie: przesuwający się pas kart ===== */
.reviews { padding: clamp(32px, 4vw, 64px) 0 clamp(24px, 3vw, 48px); }
.rv-marquee { overflow: hidden; margin-top: clamp(20px, 2.6vw, 40px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rv-track { display: flex; width: max-content; animation: rvmove 140s linear infinite; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
.rv-track ul { display: flex; flex: none; gap: clamp(12px, 1.4vw, 20px); padding-right: clamp(12px, 1.4vw, 20px); }
.rv-track li { display: flex; }
.rv-card { flex: 1; display: grid; grid-template-columns: clamp(120px, 10vw, 150px) minmax(0, 1fr); width: clamp(330px, 30vw, 460px); min-height: 160px; background: #fff; border: 1px solid var(--line); }
.rv-img { display: grid; place-items: center; background: #fff; overflow: hidden; border-right: 1px solid var(--line); min-height: 0; padding: 0; background: #fff; }
.rv-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; transition: transform .8s var(--ease); }
.rv-card:hover .rv-img img { transform: scale(1.09); }
.rv-body { background: #ecebe9; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: .45rem; padding: 16px 18px; min-width: 0; }
.rv-body .stars { font-size: .8rem; letter-spacing: .12em; line-height: 1; }
.rv-body blockquote { margin: 0; }
.rv-body blockquote p { margin: 0; font: 300 .9375rem/1.42 var(--f); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-by { margin: 0; display: flex; flex-direction: column; gap: 1px; font-size: .8125rem; line-height: 1.3; min-width: 0; }
.rv-by b { font-weight: 500; }
.rv-prod { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.rv-prod:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@keyframes rvmove { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 620px) {
  .rv-card { width: 84vw; grid-template-columns: 92px minmax(0, 1fr); }
  .rv-body { padding: 10px 12px; }
  .rv-body blockquote p { font-size: .875rem; -webkit-line-clamp: 4; }
  .rv-track { animation-duration: 110s; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-track { animation: none; }
}


.pdp-facts .ing-l { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.35); transition: text-decoration-color .2s; }
.pdp-facts .ing-l:hover { text-decoration-color: currentColor; }

/* strona główna: bez poziomych kresek nad i pod sekcjami */
.home .shelf-head { border-bottom: 0; padding-bottom: 0; }
.home .shelf + .brands { border-top: 0; border-bottom: 0; }

/* przezroczysty pasek przewijania strony (nakładka); odwrócenie koloru: czarny na jasnym, biały na zdjęciu */
html.sy-sb-on { scrollbar-width: none; }
html.sy-sb-on::-webkit-scrollbar { display: none; width: 0; height: 0; }
.sy-sb { position: fixed; top: 0; right: 0; bottom: 0; width: 14px; z-index: 9999; background: transparent; }
.sy-sb[hidden] { display: none; }
.sy-sb-thumb { position: absolute; top: 0; right: 0; width: 5px; background: rgba(70, 70, 70, .85); transition: width .15s, background-color .2s; cursor: default; will-change: transform; }
.sy-sb:hover .sy-sb-thumb, .sy-sb.drag .sy-sb-thumb { width: 8px; }
html.sy-sb-on { background: #fff; }
html.sy-sb-on body { background: var(--paper, #fff); }
html.sy-sb-on, html.sy-sb-on body { background: var(--paper, #fff); }

/* ===== Reklama: kalendarz adwentowy ===== */
.promo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; margin: clamp(32px, 4vw, 64px) 0; background: #eceef2; }
.promo-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 112px) clamp(24px, 6vw, 112px); }
.promo-text .label { margin: 0 0 1rem; font: 500 .75rem/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.promo-text h2 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 1.4rem; }
.promo-text h2 em { display: block; font-style: normal; color: var(--muted); }
.promo-text p { max-width: 46ch; font-size: 1.0625rem; line-height: 1.7; margin: 0 0 1rem; }
.promo-text p:last-child { margin: 1.4rem 0 0; }
.promo-img { display: block; overflow: hidden; background: #dde3ec; min-height: 0; }
.promo-img img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; } .promo-img { order: -1; } .promo-img img { aspect-ratio: 1; } }

/* Baner na telefonie (poza stroną główną): powolny, miękki przesuw zdjęcia, start od prawej strony.
   JEDYNE miejsce ustawień: zmienne poniżej (czas jednego przejazdu, pozycja startu i końca). */
:root { --pan-time: 22s; --pan-start: 88%; --pan-end: 12%; }
@keyframes heroPan { from { object-position: var(--pan-start) 50%; } to { object-position: var(--pan-end) 50%; } }
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .cat-hero > img { animation: heroPan var(--pan-time) ease-in-out infinite alternate; }
}
/* długi tytuł nie może rozpychać siatki banera na telefonie */
.cat-hero-in { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .plp-main[data-cat="prebiotyczny"] .cat-hero h1 { font-size: 14.4vw; } }

/* menu Marki: serie i pozycje pod nagłówkiem marki z wcięciem */
.cols-brands .col h4 + ul { padding-left: 18px; }

/* Wyszukiwarka: podpowiedzi na żywo (od najczęściej kupowanych) */
form.search { position: relative; }
.sg { position: absolute; z-index: 120; top: calc(100% + 8px); right: 0; width: min(440px, 92vw); max-height: min(72vh, 560px); overflow-y: auto; background: #fff; color: var(--ink); text-shadow: none; border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0, 0, 0, .16); text-align: left; }
.sg[hidden] { display: none; }
.sg-i { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 16px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.sg-i:hover, .sg-i.on { background: #f5f4f2; }
.sg-i img { width: 48px; height: 48px; object-fit: contain; background: #fff; }
.sg-t { display: grid; gap: 2px; min-width: 0; }
.sg-t small { font: 500 .625rem/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sg-t b { font: 400 .9375rem/1.25 var(--f); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-p { font: 500 .875rem/1.2 var(--f); white-space: nowrap; text-align: right; }
.sg-p del { display: block; font-weight: 300; color: var(--muted); font-size: .75rem; }
.sg-all, .sg-none { display: block; padding: 14px 16px; font: 500 .75rem/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--ink); text-decoration: none; }
.sg-none { text-transform: none; letter-spacing: 0; font-weight: 300; font-size: .9375rem; }
.sg-all { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--ink); }
.sg-all:hover { background: var(--ink); color: #fff; }
@media (max-width: 1020px) { .sg { left: 0; right: 0; width: auto; max-height: calc(100vh - var(--hh) - 150px); } }

/* strona wyników wyszukiwania: zwarty nagłówek bez zdjęcia */
.cat-hero.is-search { min-height: clamp(200px, 28vh, 280px); }
.cat-hero.is-search h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
.cat-hero.is-search .cat-lead { font-size: 1.0625rem; }
form.search input[type=search]::-webkit-search-cancel-button, form.search input[type=search]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }

/* liczby produktów przy odnośnikach menu */
.mc { opacity: .5; font-size: .85em; margin-left: .25em; }
.mc::before { content: '('; }
.mc::after { content: ')'; }

/* baner testu włosów na /sklep/wlosy/ (pomoc w wyborze produktu) */
.quiz-banner { background: var(--soft); border-bottom: 1px solid var(--line); }
.quiz-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(20px, 2.6vw, 36px) var(--pad); }
.quiz-text { min-width: 0; }
.quiz-kicker { margin: 0 0 .6rem; font: 500 .75rem/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quiz-banner h2 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; }
.quiz-lead { margin: 0; max-width: 70ch; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.quiz-cta { flex: none; white-space: nowrap; }
@media (max-width: 760px) {
  .quiz-in { flex-direction: column; align-items: stretch; gap: 16px; }
  .quiz-cta { width: 100%; text-align: center; }
}

/* test włosów w menu Włosy: wyraźna czarna karta zamiast kolumny „Potrzeby” */
.menu-quiz { display: flex; flex-direction: column; gap: 10px; align-self: start; max-width: 300px; padding: 24px 26px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .2s; }
.menu-quiz:hover { transform: translateY(-2px); }
.menu-quiz-k { font: 500 .6875rem/1 var(--f); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.menu-quiz b { font-size: 1.6rem; font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.menu-quiz-t { font-size: .9375rem; line-height: 1.5; opacity: .9; }
.menu-quiz-b { align-self: flex-start; margin-top: 6px; padding: .75rem 1.25rem; background: #fff; color: var(--ink); font-style: normal; font: 500 .75rem/1 var(--f); letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 1020px) { .menu-quiz { max-width: none; grid-column: 1 / -1; } }

/* karta testu w menu Twarz: pozioma, pod kolumnami (Potrzeby skóry zostają) */
.menu-quiz--wide { grid-column: 1 / -1; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 32px; padding: 20px 28px; }
.menu-quiz--wide .menu-quiz-k, .menu-quiz--wide b, .menu-quiz--wide .menu-quiz-t { grid-column: 1; }
.menu-quiz--wide b { font-size: 1.4rem; }
.menu-quiz--wide .menu-quiz-b { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
@media (max-width: 760px) {
  .menu-quiz--wide { grid-template-columns: 1fr; }
  .menu-quiz--wide .menu-quiz-b { grid-column: 1; grid-row: auto; margin-top: 6px; }
}
