/* ==========================================================================
   neocase.pl / nova
   Ciemna przestrzen, swiatlo jako akcent. Bez neonu.
   Techniki: krawedzie lapiace swiatlo, poswiata radialna, przejscia widoku,
   animacje sterowane scrollem, karuzela na scroll-snap.
   ========================================================================== */

:root {
  --n-bg: #08090B;
  --n-surface: #101216;
  --n-surface-2: #171A1F;
  --n-plate: #E9ECEF;   /* JASNA plyta - zdjecia maja biale tlo, na ciemnej byly bialymi prostokatami */
  --n-line: rgba(255, 255, 255, .07);
  --n-line-lit: rgba(255, 255, 255, .18);

  --n-ink: #F3F5F8;
  --n-muted: #8B939E;
  --n-dim: #5F6874;

  --n-brand: #22C07A;
  --n-brand-lit: #4FE3A0;
  --n-glow: rgba(34, 192, 122, .30);

  --n-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --n-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --n-gutter: clamp(1rem, 4vw, 3.5rem);
  --n-max: 1400px;
  --n-r: 16px;
  --n-r-lg: 28px;

  --n-ease: cubic-bezier(.2, .7, .3, 1);
  /* sprezyna - ruch ma miec mase, nie byc liniowy */
  --n-spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%,
                     .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%,
                     1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 87.2%, 1);
}

/* --------------------------------------------------------------- BAZA ---- */

body {
  background: var(--n-bg);
  color: var(--n-ink);
  font-family: var(--n-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* poswiata u gory strony - jedno zrodlo swiatla dla calej sceny */
body::before {
  content: "";
  position: fixed;
  inset: -20% 0 auto 0;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(34, 192, 122, .10), transparent 70%),
    radial-gradient(40% 45% at 78% 6%, rgba(120, 160, 255, .07), transparent 70%);
}

#wrapper, #main, .container, #content-wrapper, #header, #footer { position: relative; z-index: 1; background: transparent; box-shadow: none; }
#wrapper { padding: 0; }
#wrapper .container { max-width: var(--n-max); padding-inline: var(--n-gutter); }

a { color: var(--n-brand-lit); text-decoration: none; transition: color .18s var(--n-ease); }
a:hover { color: var(--n-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--n-brand); outline-offset: 3px; border-radius: 6px;
}

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--n-display);
  font-weight: 700;
  color: var(--n-ink);
  letter-spacing: -.028em;
  line-height: 1.1;
}
::selection { background: var(--n-brand); color: #04120B; }

.n-wrap, .v-wrap { max-width: var(--n-max); margin-inline: auto; padding-inline: var(--n-gutter); }

/* ----------------------------------------------------------- NAGLOWEK ---- */

.v-ticker { background: rgba(255,255,255,.03); border-bottom: 1px solid var(--n-line); color: var(--n-muted); font-size: .8rem; }
.v-ticker__inner { max-width: var(--n-max); margin-inline: auto; padding: .55rem var(--n-gutter); display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.v-ticker__item { display: inline-flex; align-items: center; gap: .45rem; }
.v-ticker__item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--n-brand); box-shadow: 0 0 8px var(--n-glow); flex: none; }

#header {
  background: rgba(8, 9, 11, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--n-line);
  position: sticky; top: 0; z-index: 900;
}
#header .header-top, #header .header-nav { background: transparent; border: 0; max-width: var(--n-max); margin-inline: auto; padding-inline: var(--n-gutter); }
#header .header-nav { min-height: 0; padding-block: 0; }
#header .header-top { padding-block: .9rem; }

.v-bar { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.v-bar__tools { margin-left: auto; display: flex; align-items: center; gap: .75rem; }

.v-logo { font-family: var(--n-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em; color: var(--n-ink); text-transform: none !important; line-height: 1; display: inline-flex; align-items: center; }
.v-logo span { color: var(--n-brand); text-shadow: 0 0 22px var(--n-glow); }
.v-logo:hover { color: var(--n-ink); }
#header h1 { margin: 0; }

#header .search-widget form input[type="text"] { background: rgba(255,255,255,.04); border: 1px solid var(--n-line); border-radius: 999px; color: var(--n-ink); font-family: var(--n-body); font-size: .9rem; padding: .6rem 1rem; }
#header .search-widget form input[type="text"]::placeholder { color: var(--n-dim); }
#header .search-widget form button[type="submit"] i { color: var(--n-brand); }
#header .blockcart { background: transparent !important; }
#header .blockcart a, #header .blockcart .cart-products-count, #_desktop_user_info a, #_desktop_user_info span { color: var(--n-ink) !important; }
#header .blockcart:hover a { color: var(--n-brand-lit) !important; }
#header .blockcart .shopping-cart { color: var(--n-brand); }

#_desktop_top_menu, .menu { background: transparent; border-bottom: 1px solid var(--n-line); }
.menu > ul, #_desktop_top_menu > ul { max-width: var(--n-max); margin-inline: auto; padding-inline: var(--n-gutter); display: flex; gap: clamp(.5rem, 2vw, 1.75rem); list-style: none; }
.menu .top-menu a[data-depth="0"] { font-size: .93rem; font-weight: 500; color: var(--n-muted); padding: .85rem 0; border: 0; text-transform: none; }
.menu .top-menu a[data-depth="0"]:hover { color: var(--n-ink); background: transparent; }
.top-menu .sub-menu { background: var(--n-surface-2); border: 1px solid var(--n-line); border-top: 1px solid var(--n-brand); border-radius: 0 0 var(--n-r) var(--n-r); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); padding: 1.25rem 1.5rem; }
.top-menu .sub-menu a { color: var(--n-muted); font-size: .92rem; padding: .3rem 0; border: 0; }
.top-menu .sub-menu a:hover { color: var(--n-brand-lit); }
.popover.sub-menu { z-index: 950; }

/* --------------------------------------------------------------- HERO ---- */

.v-hero { padding-block: clamp(1rem, 2.5vw, 2rem) 0; }
.v-hero__panel {
  max-width: var(--n-max); margin-inline: auto;
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(34,192,122,.16), transparent 60%),
    linear-gradient(180deg, var(--n-surface-2), var(--n-surface));
  border: 1px solid var(--n-line);
  border-radius: var(--n-r-lg);
  overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  position: relative;
}
.v-hero__panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, var(--n-line-lit), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 3;
}
.v-hero__copy { padding: clamp(2rem, 4.5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.v-hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; background: rgba(34,192,122,.10); color: var(--n-brand-lit); border: 1px solid rgba(34,192,122,.22); border-radius: 999px; padding: .35rem .85rem; font-size: .78rem; font-weight: 500; margin-bottom: 1.25rem; }
.v-hero__title { font-family: var(--n-display); font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; color: var(--n-ink); letter-spacing: -.035em; margin: 0 0 1rem; }
.v-hero__lead { color: var(--n-muted); font-size: 1.02rem; max-width: 46ch; margin: 0 0 1.75rem; }
.v-hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.v-hero__media { position: relative; min-height: clamp(300px, 34vw, 460px); display: grid; place-items: center; padding: clamp(1.5rem, 3vw, 3rem); }
.v-hero__duo { position: relative; width: min(90%, 420px); aspect-ratio: 1.15; }
.v-hero__plate { background: var(--n-plate); border: 1px solid var(--n-line); border-radius: var(--n-r-lg); display: grid; place-items: center; overflow: hidden; box-shadow: 0 40px 80px -30px #000, 0 0 60px -20px var(--n-glow); }
.v-hero__plate--a, .v-hero__plate--b { position: absolute; width: 68%; aspect-ratio: 1; }
.v-hero__plate--a { left: 0; top: 0; z-index: 2; }
.v-hero__plate--b { right: 0; bottom: 0; z-index: 3; }
.v-hero__plate img { width: 100%; height: 100%; object-fit: contain; padding: 9%; }
.v-hero__tag { position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); background: rgba(255,255,255,.06); border: 1px solid var(--n-line-lit); backdrop-filter: blur(10px); color: var(--n-ink); border-radius: 999px; padding: .5rem 1rem; font-size: .85rem; font-weight: 600; z-index: 4; }
.v-hero__tag b { color: var(--n-brand-lit); }

/* ------------------------------------------------------------ SEKCJE ---- */

.v-section { max-width: var(--n-max); margin-inline: auto; padding-inline: var(--n-gutter); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.v-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); flex-wrap: wrap; }
.v-section__title { font-size: clamp(1.5rem, 2.9vw, 2.35rem); margin: 0; }
.v-section__sub { color: var(--n-muted); font-size: .95rem; margin: .35rem 0 0; }
.v-section__link { font-weight: 600; font-size: .95rem; color: var(--n-brand-lit); white-space: nowrap; }
.v-section__link::after { content: " →"; }

.v-trust__item, .v-cats__tile, .v-devices__card, .v-brands__item, .v-faq, .v-band {
  background: var(--n-surface); border: 1px solid var(--n-line); border-radius: var(--n-r); position: relative;
}
/* krawedz lapiaca swiatlo - 1px gradient po obwodzie, jasniej u gory */
.v-trust__item::before, .v-cats__tile::before, .v-brands__item::before, .product-miniature .thumbnail-container::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, var(--n-line-lit), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 3;
}

.v-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.v-trust__item { padding: 1.35rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.v-trust__mark { width: 38px; height: 38px; flex: none; border-radius: 11px; background: rgba(34,192,122,.12); color: var(--n-brand-lit); border: 1px solid rgba(34,192,122,.25); display: grid; place-items: center; font-weight: 700; font-family: var(--n-display); font-size: .95rem; }
.v-trust__k { font-weight: 700; font-family: var(--n-display); display: block; margin-bottom: .1rem; color: var(--n-ink); }
.v-trust__v { color: var(--n-muted); font-size: .9rem; }

.v-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.85rem, 1.5vw, 1.35rem); }
.v-cats__tile { display: flex; flex-direction: column; overflow: hidden; transition: transform .5s var(--n-spring), box-shadow .35s var(--n-ease); }
.v-cats__tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px #000, 0 0 40px -22px var(--n-glow); }
.v-cats__media { display: block; background: var(--n-plate); }
.v-cats__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 6%; }
.v-cats__body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; }
.v-cats__body--solo { padding: clamp(1.35rem, 2.5vw, 1.85rem); justify-content: center; min-height: 108px; }
.v-cats__name { font-family: var(--n-display); font-weight: 700; font-size: 1.1rem; color: var(--n-ink); letter-spacing: -.02em; }
.v-cats__meta { color: var(--n-muted); font-size: .88rem; }

.v-brands, .v-brands--six { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.85rem, 1.5vw, 1.35rem); }
.v-brands__item { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.35rem, 2.5vw, 2rem); transition: transform .5s var(--n-spring), box-shadow .35s var(--n-ease); }
.v-brands__item:hover { transform: translateY(-3px); box-shadow: 0 0 40px -24px var(--n-glow); }
.v-brands__name { font-family: var(--n-display); font-weight: 800; font-size: 1.5rem; color: var(--n-ink); letter-spacing: -.03em; }
.v-brands__desc { color: var(--n-muted); font-size: .93rem; max-width: 46ch; }
.v-brands__meta { color: var(--n-brand-lit); font-weight: 600; font-size: .88rem; margin-top: .25rem; }

.v-devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.v-devices__card { padding: clamp(1.25rem, 2.5vw, 1.85rem); }
.v-devices__title { font-size: 1.05rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.v-devices__count { background: rgba(34,192,122,.12); color: var(--n-brand-lit); border-radius: 999px; padding: .1rem .55rem; font-size: .78rem; font-weight: 600; font-family: var(--n-body); }
.v-devices__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.v-devices__list a { display: block; font-size: .86rem; font-weight: 500; color: var(--n-muted); background: rgba(255,255,255,.03); border: 1px solid var(--n-line); border-radius: 999px; padding: .38rem .8rem; transition: all .18s var(--n-ease); }
.v-devices__list a:hover { color: #04120B; background: var(--n-brand); border-color: var(--n-brand); }

.v-band { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; align-items: center; }
.v-band__copy { padding: clamp(1.75rem, 3.5vw, 3rem); }
.v-band__copy h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0 0 .85rem; }
.v-band__copy p { color: var(--n-muted); margin: 0 0 1.5rem; max-width: 48ch; }
.v-band__media { background: var(--n-plate); padding: clamp(1.5rem, 3vw, 2.5rem); height: 100%; display: grid; place-items: center; }
.v-band__media img { width: min(100%, 265px); aspect-ratio: 1; object-fit: contain; }

.v-faq { overflow: hidden; }
.v-faq__item + .v-faq__item { border-top: 1px solid var(--n-line); }
.v-faq__item summary { cursor: pointer; list-style: none; padding: 1.15rem 1.5rem; font-weight: 600; font-size: 1rem; color: var(--n-ink); display: flex; align-items: center; gap: 1rem; }
.v-faq__item summary::-webkit-details-marker { display: none; }
.v-faq__item summary::after { content: "+"; margin-left: auto; color: var(--n-brand-lit); font-size: 1.3rem; line-height: 1; transition: transform .35s var(--n-spring); }
.v-faq__item[open] summary::after { transform: rotate(45deg); }
.v-faq__item summary:hover { color: var(--n-brand-lit); }
.v-faq__item p { color: var(--n-muted); margin: 0; padding: 0 1.5rem 1.35rem; max-width: 78ch; }

/* -------------------------------------------------------- LISTA PRODUKTOW */

.products, #products .products, .featured-products .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(.85rem, 1.5vw, 1.35rem);
  margin: 0 !important; width: 100%;
}
.products.row, #products .products.row { margin-inline: 0 !important; }
.products > .product, .products > .js-product, .products > [class*="col-"],
#products .products > .product, #products .products > .js-product, #products .products > [class*="col-"] {
  flex: none !important; max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important;
}
.products > .product > .product-miniature, .products > .js-product > .product-miniature { width: 100%; }

.product-miniature .thumbnail-container {
  position: relative; width: auto; height: auto;
  background: var(--n-surface); border: 1px solid var(--n-line); border-radius: var(--n-r);
  overflow: hidden; padding: 0 0 1.1rem; display: flex; flex-direction: column;
  transition: transform .5s var(--n-spring), box-shadow .35s var(--n-ease), border-color .3s var(--n-ease);
}
.product-miniature .thumbnail-container:hover, .product-miniature .thumbnail-container:focus-within {
  transform: translateY(-5px); border-color: rgba(34,192,122,.35);
  box-shadow: 0 32px 60px -32px #000, 0 0 44px -24px var(--n-glow);
}
.product-miniature .thumbnail-container .product-thumbnail { display: block; background: var(--n-plate); padding: 0; margin: 0; }
.product-miniature .thumbnail-container .product-thumbnail img { width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain; padding: 9%; transition: transform .6s var(--n-spring); }
.product-miniature .thumbnail-container:hover .product-thumbnail img { transform: scale(1.06); }

.product-miniature .product-description { position: static; width: auto; background: transparent; padding: .95rem 1.05rem 0; text-align: left; border: 0; box-shadow: none; display: flex; flex-direction: column; gap: .4rem; margin-top: auto; }
.product-miniature .product-title { margin: 0; }
.product-miniature .product-title a { font-family: var(--n-body); font-size: .9rem; font-weight: 500; line-height: 1.4; color: var(--n-muted); text-transform: none; display: block; }
.product-miniature .thumbnail-container:hover .product-title a { color: var(--n-ink); }
.product-miniature .product-price-and-shipping, .product-miniature .price { font-family: var(--n-display); font-size: 1.15rem; font-weight: 700; color: var(--n-ink); letter-spacing: -.02em; }
.product-miniature .regular-price { font-family: var(--n-body); font-size: .85rem; font-weight: 400; color: var(--n-dim); text-decoration: line-through; margin-right: .45rem; }
.product-miniature .product-flags { top: .75rem; left: .75rem; right: auto; margin: 0; z-index: 5; display: flex; gap: .35rem; }
.product-flags li.product-flag, #product .product-flags li.product-flag {
  background: rgba(8,9,11,.75) !important; color: var(--n-ink) !important;
  border: 1px solid var(--n-line-lit); backdrop-filter: blur(8px);
  font-family: var(--n-body); font-size: .68rem; font-weight: 600; text-transform: none;
  border-radius: 999px; padding: .25rem .65rem; box-shadow: none; min-height: 0; line-height: 1.5;
}
.product-flags li.product-flag.discount, .product-flags li.product-flag.on-sale, .product-flags li.product-flag.discount-percentage { background: var(--n-brand) !important; color: #04120B !important; border-color: var(--n-brand); }
.product-miniature .highlighted-informations, .product-miniature .quick-view, .product-miniature .variant-links { display: none !important; }
.product-miniature .wishlist-button-add { top: .7rem; right: .7rem; z-index: 6; background: rgba(8,9,11,.6) !important; border: 1px solid var(--n-line); box-shadow: none; }
.product-miniature .wishlist-button-add i { color: var(--n-muted); }

/* ------------------------------------------------- KARUZELA PRODUKTOW ---- */
/* Karuzela PRODUKTOWA, nie banerowa. Badania Baymard: hero-karuzele wypadaja
   zle, ale taśma z produktami dziala, bo uzytkownik jest w trybie przegladania. */

#index .featured-products .products {
  display: flex !important;
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: clamp(.85rem, 1.5vw, 1.35rem);
  padding-bottom: .75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--n-line-lit) transparent;
}
#index .featured-products .products > * { flex: 0 0 clamp(220px, 25vw, 290px); scroll-snap-align: start; }
#index .featured-products .products::-webkit-scrollbar { height: 6px; }
#index .featured-products .products::-webkit-scrollbar-thumb { background: var(--n-line-lit); border-radius: 99px; }
#index .featured-products .products::-webkit-scrollbar-track { background: transparent; }

.n-rail__nav { display: flex; gap: .5rem; }
.n-rail__btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--n-surface); border: 1px solid var(--n-line-lit); color: var(--n-ink);
  display: grid; place-items: center; cursor: pointer; font-size: 1.15rem; line-height: 1;
  transition: all .2s var(--n-ease);
}
.n-rail__btn:hover:not(:disabled) { background: var(--n-brand); color: #04120B; border-color: var(--n-brand); }
.n-rail__btn:disabled { opacity: .28; cursor: default; }

/* ---------------------------------------------------------- PRZYCISKI ---- */

.btn-primary, .btn.btn-primary, .v-btn {
  background: var(--n-brand); border: 1px solid var(--n-brand); color: #04120B;
  font-family: var(--n-body); font-size: .95rem; font-weight: 600; text-transform: none;
  border-radius: 999px; padding: .85rem 1.75rem; white-space: nowrap;
  box-shadow: 0 0 30px -12px var(--n-glow);
  transition: transform .4s var(--n-spring), box-shadow .3s var(--n-ease), background .2s var(--n-ease);
}
.btn-primary:hover, .btn.btn-primary:hover, .v-btn:hover { background: var(--n-brand-lit); border-color: var(--n-brand-lit); color: #04120B; transform: translateY(-2px); box-shadow: 0 0 44px -10px var(--n-glow); }
.v-btn--light { background: var(--n-ink); border-color: var(--n-ink); color: #08090B; box-shadow: none; }
.v-btn--light:hover { background: #fff; border-color: #fff; color: #08090B; }
.v-btn--ghost { background: rgba(255,255,255,.04); border-color: var(--n-line-lit); color: var(--n-ink); box-shadow: none; }
.v-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--n-ink); color: var(--n-ink); }
.btn-secondary, .btn.btn-secondary { background: rgba(255,255,255,.04); border: 1px solid var(--n-line-lit); color: var(--n-ink); border-radius: 999px; text-transform: none; font-weight: 600; font-size: .92rem; font-family: var(--n-body); white-space: nowrap; }
.btn-secondary:hover { border-color: var(--n-brand); color: var(--n-brand-lit); }

/* --------------------------------------------- KATEGORIA / KARTA PRODUKTU */

#category h1, .block-category h1, #category #js-product-list-header h1 { font-family: var(--n-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-transform: none !important; }
#category .block-category { min-height: 0 !important; padding: 0 0 .5rem; background: transparent; border: 0; }
#category .block-category .category-description { color: var(--n-muted); max-width: 62ch; }
#js-product-list-top .total-products p, .products-selection .total-products p { color: var(--n-muted); font-size: .9rem; }
.breadcrumb, #wrapper .breadcrumb { background: transparent; padding-left: 0; }
.breadcrumb li a, .breadcrumb li span { color: var(--n-muted); font-size: .88rem; }
.breadcrumb li a:hover { color: var(--n-brand-lit); }

#left-column { padding-right: clamp(1rem, 2vw, 2rem); }
#search_filters, #left-column section.block { background: var(--n-surface); border: 1px solid var(--n-line); border-radius: var(--n-r); padding: 1.25rem; margin-bottom: 1rem; box-shadow: none; }
#search_filters .facet { border-bottom: 1px solid var(--n-line); padding-bottom: .9rem; margin-bottom: .9rem; }
#search_filters .facet:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
#search_filters .facet-title, #search_filters .h6, #left-column section.block .h6 { font-family: var(--n-body); font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--n-dim); margin-bottom: .6rem; white-space: normal; overflow: visible; text-overflow: clip; }
#search_filters .facet-label a, #search_filters li a, #left-column a { color: var(--n-muted); font-size: .92rem; white-space: normal; }
#search_filters .facet-label a:hover, #left-column a:hover { color: var(--n-brand-lit); }
#search_filters .magnitude { color: var(--n-dim); font-size: .85rem; }
#search_filters .ui-slider-horizontal { background: var(--n-line-lit); border: 0; height: 4px; border-radius: 4px; }
#search_filters .ui-slider .ui-slider-range { background: var(--n-brand); }
#search_filters .ui-slider .ui-slider-handle { background: var(--n-brand); border: 2px solid var(--n-bg); border-radius: 50%; box-shadow: 0 0 14px var(--n-glow); }
#js-active-search-filters { background: rgba(34,192,122,.07); border: 1px solid rgba(34,192,122,.2); border-radius: var(--n-r); padding: .85rem 1rem; margin-bottom: 1rem; }
#js-active-search-filters:not(:has(.filter-block)) { display: none; }
#js-active-search-filters .filter-block { background: var(--n-surface-2); border: 1px solid var(--n-line); border-radius: 999px; color: var(--n-ink); font-size: .85rem; padding: .3rem .75rem; }
#category #wrapper > .container > .row { display: flex; flex-wrap: wrap; }
#category #left-column { flex: 0 0 clamp(220px, 22%, 300px); max-width: 300px; }
#category #content-wrapper { flex: 1 1 0; min-width: 0; }

#product #content-wrapper { padding-top: clamp(1rem, 3vw, 2rem); }
#product .images-container .product-cover { background: var(--n-plate); border: 1px solid var(--n-line); border-radius: var(--n-r-lg); padding: 4%; }
#product .images-container .product-cover img { border-radius: 0; background: transparent; }
#product .product-images { display: flex; gap: .5rem; padding: 0; margin-top: .85rem; list-style: none; overflow-x: auto; }
#product .product-images > li.thumb-container { flex: 0 0 auto; width: 78px; padding: 0; margin: 0; }
#product .product-images > li.thumb-container > .thumb { width: 78px; height: 78px; object-fit: contain; background: var(--n-plate); border: 1px solid var(--n-line); border-radius: 12px; padding: 6%; margin: 0; }
#product .product-images > li.thumb-container > .thumb.selected, #product .product-images > li.thumb-container > .thumb:hover { border-color: var(--n-brand); }
#product h1.h1, #product .product-title, #product h1 { font-family: var(--n-display); font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: none !important; line-height: 1.2; margin-bottom: .85rem; }
#product .product-prices, #product .product-information, #product .product-actions, #product .tabs { background: transparent; box-shadow: none; border: 0; color: var(--n-ink); }
#product .product-price, #product .current-price span, #product .product-prices .price { font-family: var(--n-display); font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 700; color: var(--n-ink); letter-spacing: -.025em; }
#product .product-prices .tax-shipping-delivery-label { color: var(--n-dim); font-size: .85rem; }
#product #product-description-short, #product .product-information > .product-description { color: var(--n-muted); padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--n-line); }
#product .product-description { color: var(--n-muted); }
#product .product-description h2 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--n-ink); margin-top: 2rem; margin-bottom: .7rem; }
#product .product-description b, #product .product-description strong { color: var(--n-ink); }
#product .tabs .nav-tabs { border-bottom: 1px solid var(--n-line); }
#product .tabs .nav-tabs .nav-link { color: var(--n-muted); font-weight: 600; font-size: .95rem; text-transform: none; border: 0; border-bottom: 2px solid transparent; }
#product .tabs .nav-tabs .nav-link.active { color: var(--n-ink); border-bottom-color: var(--n-brand); background: transparent; }
#product .product-actions .product-add-to-cart { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
#product .product-quantity { display: flex; align-items: center; gap: 1rem; margin: 0; }
#product-details .data-sheet { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
#product-details .data-sheet dt, #product-details .data-sheet dd { background: transparent; border-bottom: 1px solid var(--n-line); padding: .8rem 0; margin: 0; font-weight: 400; font-size: .92rem; }
#product-details .data-sheet dt.name { color: var(--n-dim); }
#product-details .data-sheet dd.value { color: var(--n-ink); text-align: right; font-weight: 500; }
#product .social-sharing li a { background-color: rgba(255,255,255,.05); border: 1px solid var(--n-line); filter: grayscale(1) brightness(2); }
@media (min-width: 992px) { #product #content-wrapper .product-information { position: sticky; top: 8rem; align-self: start; } }

/* --------------------------------------------------- KOSZYK / KASA ------- */

.card, .cart-grid-body .card, .cart-grid-right .card, #checkout .card,
.cart-summary, .cart-detailed-totals, #order-details,
.page-customer-account #content, .page-authentication #content,
#blockcart-modal .modal-content, .modal-content {
  background: var(--n-surface) !important; border: 1px solid var(--n-line);
  border-radius: var(--n-r); box-shadow: none; color: var(--n-ink);
}
.card-block, .card-body, .card-header, .card-footer,
#blockcart-modal .modal-header, #blockcart-modal .modal-body, #blockcart-modal .modal-footer,
.modal-header, .modal-body, .modal-footer { background: transparent !important; border-color: var(--n-line) !important; }
.cart-grid-body .card .card, .cart-grid-body .card > .cart-overview { border: 0 !important; background: transparent !important; }
.cart-grid .card-block h1, #main .cart-grid h1, #checkout h1, #cart h1, .checkout-step .step-title { font-family: var(--n-display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); text-transform: none !important; color: var(--n-ink); }
.cart-item { border-bottom: 1px solid var(--n-line); padding-block: 1.1rem; }
.cart-item:last-child { border-bottom: 0; }
.cart-grid-body .product-line-grid-left img, .cart-item .product-image img,
#checkout #cart-summary-product-list .media img, #blockcart-modal .product-image { background: var(--n-plate); border: 1px solid var(--n-line); border-radius: 12px; padding: 5%; }
.product-line-info a.label, .cart-item .product-line-info > a, #blockcart-modal .product-name { color: var(--n-ink) !important; font-weight: 500; text-transform: none; }
.product-line-info .product-price, .product-line-grid-right .product-price, .cart-items .product-price, #blockcart-modal .product-price { color: var(--n-ink) !important; font-family: var(--n-display); font-weight: 700; }
.cart-summary-line, .cart-summary-line.cart-total, #blockcart-modal .cart-summary-line { border: 0; background: transparent !important; color: var(--n-muted); }
.cart-summary-line .label, .cart-summary-line .value, #blockcart-modal .cart-content .label, #blockcart-modal .cart-content p > span:first-child { color: var(--n-muted) !important; }
#blockcart-modal .cart-content .value { color: var(--n-ink) !important; }
.cart-summary-line.cart-total { border-top: 1px solid var(--n-line); padding-top: .9rem; margin-top: .5rem; }
.cart-summary-line.cart-total .label, .cart-summary-line.cart-total .value { color: var(--n-ink) !important; font-family: var(--n-display); font-weight: 700; font-size: 1.15rem; }
.cart-summary-line .value.free, .cart-summary-line .free, #blockcart-modal .cart-content .shipping.value { color: var(--n-brand-lit) !important; font-weight: 600; }
#blockcart-modal .product-total { background: transparent !important; border-top: 1px solid var(--n-line); padding-top: .85rem; margin-top: .5rem; display: flex; justify-content: space-between; align-items: baseline; }
#blockcart-modal .product-total .label, #blockcart-modal .product-total .value { color: var(--n-ink) !important; font-family: var(--n-display); font-weight: 700; font-size: 1.1rem; }
#blockcart-modal .cart-content-btn { display: flex; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
#blockcart-modal .divide-right { border-right: 1px solid var(--n-line); }
#blockcart-modal .cart-products-count { color: var(--n-ink) !important; }
#blockcart-modal .modal-title { color: var(--n-ink) !important; font-family: var(--n-display); }
#blockcart-modal .modal-title i.material-icons { color: var(--n-brand); }
#blockcart-modal .close, .modal .close { color: var(--n-ink); opacity: .7; text-shadow: none; }
.cart-line-product-actions .remove-from-cart i, .product-line-grid-right .remove-from-cart i { color: var(--n-dim) !important; }
.cart-line-product-actions .remove-from-cart:hover i { color: #FF6B6B !important; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], textarea, select.form-control, .bootstrap-touchspin input.form-control,
.form-control:not([type="checkbox"]):not([type="radio"]) {
  background: rgba(255,255,255,.04) !important; border: 1px solid var(--n-line-lit) !important;
  color: var(--n-ink) !important; border-radius: 12px !important; font-family: var(--n-body);
}
select.form-control option { background: var(--n-surface-2); color: var(--n-ink); }
input::placeholder, textarea::placeholder { color: var(--n-dim); }
.bootstrap-touchspin .btn-touchspin { background: rgba(255,255,255,.04) !important; border: 1px solid var(--n-line) !important; color: var(--n-muted) !important; }
.form-control-label, label, .form-control-comment { color: var(--n-muted); }
.products-selection select, .products-sort-order .select-title { background: rgba(255,255,255,.04); border: 1px solid var(--n-line-lit); border-radius: 999px; color: var(--n-ink); }
.products-sort-order .dropdown-menu { background: var(--n-surface-2); border: 1px solid var(--n-line); border-radius: var(--n-r); }
.products-sort-order .dropdown-menu .select-list { color: var(--n-muted); }
.products-sort-order .dropdown-menu .select-list:hover { background: rgba(255,255,255,.05); color: var(--n-brand-lit); }

#checkout .checkout-step { border-bottom: 1px solid var(--n-line); }
#checkout .checkout-step .step-number, #checkout .checkout-step.-current .step-number,
#checkout .checkout-step.-reachable.-complete .step-number { background: var(--n-brand) !important; color: #04120B !important; border: 0; }
#checkout .checkout-step:not(.-current):not(.-complete) .step-number { background: rgba(255,255,255,.05) !important; color: var(--n-dim) !important; border: 1px solid var(--n-line); }
#checkout .checkout-step:not(.-current) .step-title { color: var(--n-muted); }
#checkout .delivery-option, #checkout .payment-option { background: rgba(255,255,255,.03); border: 1px solid var(--n-line); border-radius: var(--n-r); margin-bottom: .6rem; padding: .95rem; }
#checkout .delivery-option:hover, #checkout .payment-option:hover { border-color: var(--n-brand); }
.custom-checkbox input[type="checkbox"] + span, .custom-radio { border-color: var(--n-line-lit); }
.custom-checkbox input[type="checkbox"]:checked + span, .custom-radio input[type="radio"]:checked + span { background: var(--n-brand); border-color: var(--n-brand); }
.alert-success { background: rgba(34,192,122,.10); border-color: rgba(34,192,122,.3); color: var(--n-brand-lit); }
a.text-primary, .text-primary, .btn-link, #checkout .step-edit { color: var(--n-brand-lit) !important; }
.v-checkout-nav { padding-block: 1rem; border-bottom: 1px solid var(--n-line); background: transparent; }
.v-checkout-nav__note, .v-checkout-footer, #checkout #footer .container { color: var(--n-muted); font-size: .85rem; }

/* ------------------------------------------------------------ STOPKA ---- */

#footer { background: transparent; padding: 0; }
.v-footer { background: var(--n-surface); border-top: 1px solid var(--n-line); margin-top: clamp(2rem, 5vw, 4rem); }
.v-footer__inner { max-width: var(--n-max); margin-inline: auto; padding: clamp(2.25rem, 4vw, 3.5rem) var(--n-gutter) 1.75rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.v-footer h4 { font-family: var(--n-body); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--n-dim); margin-bottom: .9rem; }
.v-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.v-footer a { color: var(--n-muted); font-size: .93rem; }
.v-footer a:hover { color: var(--n-brand-lit); }
.v-footer__note { color: var(--n-muted); max-width: 40ch; margin-top: .85rem; font-size: .92rem; }
.v-footer__bottom { border-top: 1px solid var(--n-line); max-width: var(--n-max); margin-inline: auto; padding: 1.25rem var(--n-gutter); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; color: var(--n-dim); }

/* ================================================================= RUCH == */

/* Animacje sterowane scrollem - natywne, bez JavaScriptu.
   Gdzie brak wsparcia, zostaje klasa .is-in dokladana przez JS. */
@supports (animation-timeline: view()) {
  .v-reveal { opacity: 0; transform: translateY(20px); animation: n-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 24%; }
  .v-reveal.is-in { opacity: 1; transform: none; }
}
@supports not (animation-timeline: view()) {
  .v-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--n-ease), transform .6s var(--n-spring); }
  .v-reveal.is-in { opacity: 1; transform: none; }
}
@keyframes n-rise { to { opacity: 1; transform: none; } }

/* Przejscia miedzy stronami - zdjecie produktu morfuje przy wejsciu na karte. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: n-fade-out .22s var(--n-ease) both; }
::view-transition-new(root) { animation: n-fade-in .3s var(--n-ease) both; }
@keyframes n-fade-out { to { opacity: 0; } }
@keyframes n-fade-in { from { opacity: 0; } }
#product .images-container .product-cover img { view-transition-name: n-hero-product; }
::view-transition-group(n-hero-product) { animation-duration: .45s; }

/* lot miniatury do koszyka po dodaniu produktu */
.n-fly { position: fixed; z-index: 9999; pointer-events: none; border-radius: 12px; object-fit: contain; background: var(--n-plate); transition: transform .7s var(--n-ease), opacity .7s var(--n-ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .v-reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  body::before { display: none; }
}

/* ----------------------------------------------------- RESPONSYWNOSC ---- */

@media (max-width: 1100px) { .v-brands, .v-brands--six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
  .v-hero__panel { grid-template-columns: 1fr; }
  .v-hero__media { order: -1; min-height: 280px; }
  .v-band { grid-template-columns: 1fr; }
  .v-band__media { order: -1; }
  .v-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .v-bar { flex-wrap: wrap; justify-content: space-between; }
  #category #left-column { flex: 0 0 100%; max-width: none; padding-right: 0; margin-bottom: 1rem; }
}
@media (max-width: 900px) { .v-cats, .v-devices { grid-template-columns: 1fr; } .v-hero__duo { width: min(80%, 320px); } }
@media (max-width: 860px) { .v-trust { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .v-brands, .v-brands--six, .v-footer__inner { grid-template-columns: 1fr; }
  .products, #products .products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
  .v-ticker__inner { gap: 1rem; font-size: .74rem; }
  .n-rail__nav { display: none; }
}

/* elementy motywu bazowego spoza tego jezyka */
.header-banner { display: none; }
.featured-products > .products-section-title, .featured-products > h2.products-section-title { display: none !important; }
.product-miniature .thumbnail-container .thumbnail-top { position: static; }

/* Zdjecia produktow maja biale tlo. Jasna plyta + multiply sprawia, ze tlo
   znika, a produkt zostaje. Na ciemnej plycie widac byloby bialy prostokat. */
.product-miniature .thumbnail-container .product-thumbnail img,
.v-cats__media img,
.v-band__media img,
.v-hero__plate img,
#product .images-container .product-cover img,
#product .product-images > li.thumb-container > .thumb,
.cart-grid-body .product-line-grid-left img,
.cart-item .product-image img,
#checkout #cart-summary-product-list .media img,
#blockcart-modal .product-image { mix-blend-mode: multiply; }

/* Menu musi byc czytelne od razu, nie dopiero po najechaniu. */
.menu .top-menu a[data-depth="0"],
#_desktop_top_menu .top-menu a[data-depth="0"] {
  color: var(--n-ink);
  font-weight: 500;
}
.menu .top-menu a[data-depth="0"]:hover,
#_desktop_top_menu .top-menu a[data-depth="0"]:hover { color: var(--n-brand-lit); }
.top-menu .sub-menu a { color: #C6CCD4; }
.top-menu .sub-menu a:hover { color: var(--n-brand-lit); }
/* to samo dotyczy paska informacyjnego i stopki */
.v-ticker { color: #B4BCC6; }
.v-footer a { color: #C6CCD4; }

/* Logo zyje z kontrastu: przygaszone "neo" i swiecace "case".
   Zrownanie jasnosci obu czesci zabija ten efekt. */
#header .v-logo, .v-footer .v-logo { color: #6B7480 !important; }
#header .v-logo span, .v-footer .v-logo span {
  color: var(--n-brand) !important;
  text-shadow: 0 0 26px var(--n-glow), 0 0 8px rgba(34,192,122,.5);
}
#header .v-logo:hover { color: #8B939E !important; }

/* Reguła kasująca układ kolumnowy Bootstrapa ustawia flex: none !important,
   co zabijało bazę kafla w karuzeli. Tu musi wygrać szerokość taśmy. */
#index .featured-products .products > * {
  flex: 0 0 clamp(220px, 24vw, 290px) !important;
  scroll-snap-align: start;
}

/* Bootstrapowy .row ma flex-wrap: wrap - kafle zawijaly sie zamiast tworzyc tasme. */
#index .featured-products .products { flex-wrap: nowrap !important; }

/* Motyw bazowy liczy wysokosc kafla od stalej stopki (calc(100% - 70px)),
   przez co jasna plyta konczyla sie w polowie zdjecia, a reszta produktu
   mieszala sie z ciemnym tlem. Plyta ma objac cale zdjecie. */
.product-miniature .thumbnail-container .product-thumbnail {
  height: auto !important;
  display: block;
  line-height: 0;
}
.product-miniature .thumbnail-container .product-thumbnail img { display: block; }

/* Nazwy produktow czytelne od razu, nie dopiero po najechaniu. */
.product-miniature .product-title a { color: #C6CCD4; }
.product-miniature .thumbnail-container:hover .product-title a { color: #FFFFFF; }
.v-section__sub, .v-cats__meta, .v-brands__desc, .v-trust__v { color: #9AA3AE; }

/* Kroki kasy renderuja sie jako .checkout-step z bialym tlem z motywu bazowego. */
.checkout-step, #checkout .checkout-step,
#checkout-personal-information-step, #checkout-addresses-step,
#checkout-delivery-step, #checkout-payment-step {
  background: var(--n-surface) !important;
  border: 1px solid var(--n-line);
  border-radius: var(--n-r);
  margin-bottom: 1rem;
  color: var(--n-ink);
}
.checkout-step .content, .checkout-step .step-content { background: transparent !important; color: var(--n-ink); }
.checkout-step .step-title { background: transparent !important; }
#checkout .js-address-form, #checkout .form-fields, #checkout #conditions-to-approve { color: var(--n-muted); }
#checkout .form-footer, #checkout .additional-information { background: transparent; color: var(--n-muted); }
#checkout .additional-information em, #checkout .additional-information p { color: var(--n-muted); font-style: normal; }
#conditions-to-approve label, #conditions-to-approve a { color: var(--n-ink); }
#conditions-to-approve a { color: var(--n-brand-lit); text-decoration: underline; }
