/* Neonis – puslapio CSS (perkeliamas į WooCommerce child temą). Tik tai, ko neturi Taste sistema. */

/* ---------- antraštė: plona juosta + juosta su logotipu ---------- */
:root { --strip: 32px; --nav: calc(72px + var(--strip)); }
@media (max-width: 639px) { :root { --strip: 40px; --nav: calc(56px + var(--strip)); } }

.nv { display: flex; flex-direction: column; }
.nv { --strip-bg: var(--p-surface); }
.nv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--strip); background: var(--strip-bg); z-index: 0; pointer-events: none; }
.nv-strip { height: var(--strip); flex: none; display: flex; align-items: center; position: relative; z-index: 1; }
.nv-strip > p { margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 8px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink); text-align: center; }
/* vienintelis akcentas antraštėje: plona logotipo RGB linija po juosta */
.nv::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--strip) - 1px); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, #FF3FD0, #8B5CFF, #2DE2FF, #3DFF9E, #FFB23D); opacity: .7;
}
@media (max-width: 639px) { .nv-strip > p { font-size: 13px; gap: 0 6px; } .nv-strip__dot { display: none; } .nv-strip > p > span { flex-basis: 100%; } }
.nv .nav__bar { height: auto; flex: 1; gap: var(--s-6); }
/* logotipas: didesnis, „i“ linija švyti (prekės ženklo akcentas) */
.nv .nav__bar .nv-logo svg { height: 38px; width: auto; display: block; overflow: visible; }
.nv-logo svg, .nv-logo img { height: 26px; width: auto; display: block; overflow: visible; }
.nv-logo .logo-i { transform-box: fill-box; transform-origin: 50% 100%; }
@media (max-width: 639px) { .nv .nav__bar .nv-logo svg { height: 30px; } }
.closing__links .nv-logo img { height: 34px; }

/* socialiniai tinklai: juostos dešinėje, meniu lape ir poraštėje */
.nv-strip { position: relative; }
.nv-social { display: flex; align-items: center; gap: 4px; }
.nv-social__link {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--muted);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nv-social__link svg { width: 17px; height: 17px; }
.nv-social__link:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 10%, transparent); transform: translateY(-1px); }
.nv-social--strip { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); }
.nv-social--strip .nv-social__link { width: 28px; height: 28px; }
.nv-social--sheet { display: none; }
.nv-social--footer { margin-top: var(--s-4); margin-left: -6px; }
.nv-social--footer .nv-social__link { width: 40px; height: 40px; }
.nv-social--footer .nv-social__link svg { width: 20px; height: 20px; }
@media (max-width: 1023px) {
  .nv-social--strip { display: none; }
  .nv.is-open .nv-social--sheet { display: flex; gap: 8px; padding: var(--s-4) 0; }
  .nv.is-open .nv-social--sheet .nv-social__link { width: 44px; height: 44px; color: var(--ink); background: var(--p-surface); }
  .nv.is-open .nv-social--sheet .nv-social__link svg { width: 20px; height: 20px; }
}

/* paieška: juostoje nuo 1024, telefone – meniu lape */
.nv-search { position: relative; display: flex; align-items: center; }
.nv-search input {
  height: 40px; width: 220px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--p-surface); color: var(--ink); font: 400 14px/1 var(--font-text);
  transition: border-color var(--dur) var(--ease);
}
.nv-search input::placeholder { color: var(--muted); }
.nv-search input:hover { border-color: color-mix(in oklab, var(--ink) 40%, transparent); }
.nv-search__label { position: absolute; left: 36px; font-size: 14px; font-weight: 500; color: var(--ink); pointer-events: none; }
.nv-search--bar input { padding-left: 98px; }
.nv-search__ic { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.nv-search--sheet { display: none; }
.nv .nav__links { gap: 0; }
.nv .nav__link { padding: 0 10px; font-size: 14px; }
.nv .nav__link::before { left: 10px; right: 10px; }
@media (min-width: 1024px) and (max-width: 1279px) { .nv-search input { width: 150px; } .nv-account { display: none; } .nv .nav__link { padding: 0 6px; font-size: 13.5px; } .nv .nav__bar { gap: var(--s-4); } }

.nv-actions { gap: var(--s-2); }
.nv-icon {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink);
  transition: background-color var(--dur) var(--ease);
}
.nv-icon:hover { background: var(--p-surface); }
.nv-icon svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.nv-cart__glow {
  position: absolute; inset: 2px; border-radius: 999px; opacity: 0; pointer-events: none;
  background: conic-gradient(from 0deg, #FF3FD0, #8B5CFF, #2DE2FF, #3DFF9E, #FFB23D, #FF3FD0); filter: blur(8px);
}
.nv-cart__count {
  position: absolute; top: 4px; right: 2px; z-index: 2; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.nv-cart__count[hidden] { display: none; }
button.nv-icon { appearance: none; -webkit-appearance: none; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; font: inherit; }
button.nv-icon:hover { background: var(--p-surface); }

@media (max-width: 1023px) {
  .nv-search--bar, .nv-account { display: none; }
  .nv:not(.is-open) .nav__actions > .nv-cart { display: inline-grid; }
  .nv.is-open .nv-search--sheet { display: grid; gap: 8px; padding: var(--s-3) 0 var(--s-4); }
  .nv.is-open .nv-search--sheet .nv-search__label { position: static; }
  .nv.is-open .nv-search--sheet input { width: 100%; height: 48px; font-size: 16px; padding-left: 16px; }
  .nv.is-open .nav__actions { display: none; }
}

/* ---------- herojus: „Įjunk šviesą“ reguliatorius ---------- */
.nv-dimmer { position: relative; background: #050507; }
.nv-dimmer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ly-pos, 50% 50%); }
/* išjungta šviesa: ta pati nuotrauka beveik tamsi (statinis filtras, neanimuojamas) */
.nv-dimmer__off { filter: brightness(.16) saturate(.5); }
/* įjungta šviesa: jos permatomumą valdo slankiklis (tik opacity) */
.nv-dimmer__on { opacity: .2; will-change: opacity; }
.nv-dimmer__ctl {
  position: absolute; left: calc((100% - min(100% - 2 * var(--gut), 1280px)) / 2); bottom: var(--s-6); z-index: 2; display: flex; align-items: center; gap: var(--s-4);
  padding: 10px 18px 10px 20px; border-radius: 999px; background: rgba(10, 10, 15, .86); border: 1px solid rgba(255, 255, 255, .14);
}
.nv-dimmer__label { font-size: 15px; font-weight: 500; white-space: nowrap; }
.nv-dimmer__val { min-width: 44px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.nv-dimmer__range { -webkit-appearance: none; appearance: none; width: 220px; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.nv-dimmer__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #2a2a33, #FF3FD0 30%, #8B5CFF 50%, #2DE2FF 70%, #3DFF9E 85%, #FFB23D); }
.nv-dimmer__range::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #2a2a33, #FF3FD0 30%, #8B5CFF 50%, #2DE2FF 70%, #3DFF9E 85%, #FFB23D); }
.nv-dimmer__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); transition: transform var(--dur) var(--ease); }
.nv-dimmer__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; }
.nv-dimmer__range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.nv-dimmer__range:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 999px; }
@media (max-width: 639px) {
  .nv-dimmer__ctl { left: var(--gut); right: var(--gut); bottom: 12px; gap: var(--s-3); padding: 6px 14px; }
  .nv-dimmer__range { width: auto; flex: 1; min-width: 0; }
  .nv-dimmer__label { font-size: 14px; }
}

/* ---------- kategorijų plytelės: užrašai didžiosiomis (naudotojo pavyzdys) ---------- */
.nv-cat .tile__head h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 18px; }
.nv-cats .tile--portrait { --tile-ratio: 6 / 7; }
.nv-cat .tile__facts { margin-top: calc(-1 * var(--s-3)); }

/* ---------- prekių eilė (pirkėjo valdoma, be automatinio sukimosi) ---------- */
.nv-rail-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.nv-arrows { display: flex; gap: var(--s-2); }
.nv-arrow {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); cursor: pointer; transition: background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nv-arrow:hover { background: var(--p-surface); }
.nv-arrow:disabled { opacity: .35; cursor: default; }
.nv-arrow svg { width: 20px; height: 20px; }
.nv-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--s-5)) / 4); gap: var(--s-5);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 0 8px; margin: -4px 0 -8px;
}
.nv-rail::-webkit-scrollbar { display: none; }
.nv-rail:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; border-radius: var(--r-md); }
@media (max-width: 1023px) { .nv-rail { grid-auto-columns: calc((100% - var(--s-4)) / 2.15); gap: var(--s-4); } }
@media (max-width: 639px) { .nv-rail { grid-auto-columns: 78%; gap: var(--s-3); } .nv-arrows { display: none; } }

/* prekės kortelė (Govee tipo): nuotrauka, pavadinimas, variantas, 2 savybės, terminas, kaina, mygtukas */
.nv-pc {
  display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 16px; border-radius: var(--r-lg);
  background: var(--p-surface); border: 1px solid rgba(255, 255, 255, .06);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}
.nv-pc__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: #000; margin-bottom: 4px; }
.nv-pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .nv-pc:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .14); }
  .nv-pc:hover .nv-pc__media img { transform: scale(1.03); }
}
.nv-pc__name { margin: 0; font: 500 18px/1.3 var(--font-text); letter-spacing: -0.01em; }
.nv-pc__var { display: flex; gap: 6px; border: 0; padding: 0; margin: 0; }
.nv-pc__var label { position: relative; cursor: pointer; }
.nv-pc__var input { position: absolute; inset: 0; margin: 0; cursor: pointer; appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-radius: 999px; width: 100%; height: 100%; }
.nv-pc__var input:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.nv-pc__var span {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nv-pc__var input:checked + span { color: var(--ink); border-color: var(--ink); }
.nv-pc__var input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.nv-pc__feat { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); min-height: 3em; }
.nv-pc__ship { margin: 0; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.nv-pc__ship::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DFF9E; flex: none; }
.nv-pc__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.nv-pc__price { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.nv-pc .nv-add { height: 44px; padding-inline: 18px; font-size: 15px; }
/* „Į krepšelį“ hover: plona RGB linija po mygtuku (akcentas saikingai) */
.nv-add { position: relative; }
.nv-add::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #FF3FD0, #8B5CFF, #2DE2FF, #3DFF9E, #FFB23D);
  transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease);
}
.nv-add:hover::after, .nv-add:focus-visible::after { transform: scaleX(1); }

/* ---------- Kalėdos ---------- */
.nv-xmas { align-items: start; }
.nv-xmas__pic { min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.nv-xmas__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-xmas__text { display: flex; flex-direction: column; gap: var(--s-6); }
.nv-xmas__text .section-head { margin: 0; }
.nv-xmas__rows { margin: 0; }
@media (max-width: 1023px) { .nv-xmas__pic { aspect-ratio: 3 / 2; } }

/* ---------- Kaip parduodame (šviesi sekcija) ---------- */
.nv-trust__row {
  list-style: none; margin: var(--s-9) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5);
}
.nv-trust__row li { display: grid; gap: var(--s-3); font-size: 16px; font-weight: 500; align-content: start; }
.nv-trust__row svg { width: 28px; height: 28px; }
.nv-compat { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-7); font-size: 15px; }
.nv-compat__lead { color: var(--muted); }
.nv-compat__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.nv-compat__item svg { width: 22px; height: 22px; }
@media (max-width: 1023px) { .nv-trust__row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- pranešimas „Įdėta į krepšelį“ ---------- */
.nv-toast {
  position: fixed; z-index: 60; right: var(--gut); top: calc(var(--nav) + 16px); max-width: 340px;
  padding: 14px 18px; border-radius: var(--r-md); background: #fff; color: #0a0a0f; font-weight: 500; font-size: 15px;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.nv-toast::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: 1px;
  background: conic-gradient(#FF3FD0, #8B5CFF, #2DE2FF, #3DFF9E, #FFB23D, #FF3FD0);
}
@media (max-width: 639px) { .nv-toast { left: 12px; right: 12px; max-width: none; } }

/* telefone herojaus nuotrauka žemesnė, kad visas herojus tilptų į pirmą ekraną */
@media (max-width: 639px) { .nv-hero .hero__stage { aspect-ratio: 1 / 1; } }

/* =================== PREKĖS PUSLAPIS (preke.html) =================== */
.nv-buy { height: auto; min-height: 100svh; }
.nv-buy__grid { align-items: start; }

/* galerija: viena didelė nuotrauka + miniatiūros (pirkėjas renkasi pats) */
.nv-gal { display: grid; gap: var(--s-3); min-width: 0; }
.nv-gal__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.nv-gal__main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; }
.nv-gal__main > img.is-on { opacity: 1; visibility: visible; }
.nv-gal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.nv-gal__thumbs button {
  appearance: none; padding: 0; border: 1px solid transparent; border-radius: var(--r-md); overflow: hidden; background: #000;
  aspect-ratio: 4 / 3; cursor: pointer; opacity: .6; transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nv-gal__thumbs button:hover { opacity: .9; }
.nv-gal__thumbs button.is-on { opacity: 1; border-color: var(--ink); }
.nv-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* pirkimo kortelė */
.nv-buybox { display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.nv-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.nv-crumbs a { color: var(--muted); min-height: 24px; } .nv-crumbs a:hover { color: var(--ink); }
.nv-buybox h1 { font-size: clamp(36px, 3.4vw, 52px); line-height: 1.05; margin: 0; }
.nv-buybox__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 46ch; }
.nv-buybox__price { margin: 0; font-size: 32px; font-weight: 500; font-variant-numeric: tabular-nums; }
.nv-opt { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.nv-opt legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nv-opt__row span { height: 44px; padding: 0 20px; font-size: 15px; }
.nv-buybox__feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.nv-buybox__feat li { display: inline-flex; align-items: center; gap: 8px; }
.nv-buybox__feat li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.nv-ship { border-radius: var(--r-md); background: var(--p-surface); padding: 16px 18px; display: grid; gap: 10px; }
.nv-ship__when { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.nv-ship__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DFF9E; }
.nv-ship__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.nv-ship__ways li { display: flex; justify-content: space-between; gap: 12px; }
.nv-ship__ways li span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.nv-buybox__cta { display: flex; gap: var(--s-3); }
.nv-buybox__add { flex: 1; height: 52px; font-size: 16px; }
.nv-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-btn); height: 52px; }
.nv-qty button { appearance: none; border: 0; background: transparent; color: var(--ink); width: 44px; height: 100%; font-size: 20px; cursor: pointer; }
.nv-qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.nv-buybox__note { margin: 0; font-size: 14px; color: var(--muted); }

.nv-spec__pic { aspect-ratio: 4 / 5; max-height: 600px; width: 100%; }
.nv-spec__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-use { margin: 0; }
.nv-terms__rows { margin-top: var(--s-8); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-8); }
.nv-terms__rows > li:nth-child(2) { padding-top: 0; }

@media (max-width: 1023px) {
  .nv-buy__grid > * { grid-column: 1 / -1; }
  .nv-terms__rows { grid-template-columns: 1fr; }
  .nv-terms__rows > li:nth-child(2) { padding-top: var(--s-4); }
}
@media (max-width: 639px) {
  .nv-gal__thumbs { gap: 8px; }
  .nv-buybox__cta .nv-qty { display: none; }
  .nv-ship__ways li span:last-child { white-space: nowrap; }
}
/* kortelė su nuoroda į prekės puslapį: visa kortelė paspaudžiama per pavadinimą */
.nv-pc { position: relative; }
.nv-pc__link { color: inherit; }
.nv-pc__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.nv-pc .nv-pc__var, .nv-pc .nv-add { position: relative; z-index: 1; }

/* =================== HEROJUS: „Įjunk šviesą“ palyginimo rankenėlė (kaip Twinkly) ===================
   Kairėje rankenėlės pusėje šviesa įjungta, dešinėje – išjungta. Atskleidimas daromas tik transform:
   .nv-sw__reveal pastumiamas į kairę (x-1)*100 %, o jo vidus atgal (1-x)*100 %, todėl nuotrauka stovi vietoje. */
.nv-sw { position: relative; overflow: hidden; background: #050507; touch-action: pan-y; }
.nv-sw__scene { position: absolute; inset: 0; }
.nv-sw__scene[hidden] { display: none; }
.nv-sw__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--sc-y, 40%); }
.nv-sw__scene[data-scene="juostos"] { --sc-y: 20%; }
.nv-sw__scene[data-scene="projektoriai"] { --sc-y: 30%; }
.nv-sw__reveal { position: absolute; inset: 0; overflow: hidden; transform: translateX(calc((var(--x) - 1) * 100%)); will-change: transform; }
.nv-sw__inner { position: absolute; inset: 0; transform: translateX(calc((1 - var(--x)) * 100%)); will-change: transform; }
/* spalvų sluoksniai: kiekvienas ryškėja savo rankenėlės ruože (data-from–data-to), tik opacity */
.nv-sw__layer { opacity: 0; }
/* projektoriaus diskai: rodomas pasirinktas */
.nv-sw__disc { opacity: 0; }
.nv-sw__disc.is-on { opacity: 1; }
.nv-sw__discs { position: absolute; z-index: 5; top: var(--s-5); right: var(--s-5); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(10,10,15,.88); border: 1px solid rgba(255,255,255,.14); }
.nv-sw__discs button { appearance: none; border: 0; height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px/1 var(--font-text); cursor: pointer; }
.nv-sw__discs button:hover { color: #fff; }
.nv-sw__discs button[aria-pressed="true"] { background: #fff; color: #0a0a0f; }
@media (max-width: 639px) { .nv-sw__discs { top: 12px; right: 12px; left: 12px; } .nv-sw__discs button { flex: 1; height: 36px; padding: 0 6px; font-size: 13px; } }
.nv-sw__handle { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: #fff; pointer-events: none;
  transform: translateX(calc(var(--x) * var(--sw-w, 1440px))); will-change: transform; box-shadow: 0 0 12px rgba(255,255,255,.6); z-index: 3; }
.nv-sw__grip { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: grid; place-items: center; background: #0a0a0f; color: #fff; border: 2px solid #fff; }
.nv-sw__grip svg { width: 24px; height: 24px; }
.nv-sw__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.nv-sw__range:focus-visible ~ .nv-sw__handle .nv-sw__grip, .nv-sw:has(.nv-sw__range:focus-visible) .nv-sw__grip { outline: 3px solid #fff; outline-offset: 4px; }
.nv-sw__bar { position: absolute; z-index: 5; left: var(--s-5); bottom: var(--s-5);
  display: flex; align-items: center; gap: var(--s-4); padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(10,10,15,.88); border: 1px solid rgba(255,255,255,.14); }
.nv-sw__title { font-size: 15px; font-weight: 500; white-space: nowrap; }
.nv-sw__tabs { display: flex; gap: 4px; }
.nv-sw__tabs button { appearance: none; border: 0; height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; color: var(--muted);
  font: 500 14px/1 var(--font-text); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.nv-sw__tabs button:hover { color: #fff; }
.nv-sw__tabs button[aria-pressed="true"] { background: #fff; color: #0a0a0f; }
@media (max-width: 639px) {
  .nv-sw__bar { left: 12px; right: 12px; bottom: 12px; padding: 4px; gap: 0; }
  .nv-sw__title { display: none; }
  .nv-sw__tabs { flex: 1; } .nv-sw__tabs button { flex: 1; padding: 0 6px; font-size: 13px; }
  .nv-sw__grip { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
}
@media (prefers-reduced-motion: reduce) { .nv-sw__reveal, .nv-sw__inner, .nv-sw__handle { will-change: auto; } }

/* prekės puslapis telefone: visas pirkimo blokas ir mygtukas pirmame ekrane */
@media (max-width: 639px) {
  .nv-buy { min-height: 0; }
  .nv-buy__grid { row-gap: var(--s-4); }
  .nv-buybox { gap: var(--s-3); }
  .nv-buybox__lead, .nv-buybox__note, .nv-gal__thumbs, .nv-crumbs { display: none; }
  .nv-buybox h1 { font-size: 32px; }
  .nv-buybox__price { font-size: 26px; }
  .nv-ship { padding: 12px 14px; gap: 6px; }
  .nv-gal__main { aspect-ratio: 16 / 9; }
}

/* =================== KATEGORIJOS PUSLAPIS (kategorija.html) =================== */
.nv-kat__grid { align-items: start; }
.nv-kat__text { display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.nv-kat__text h1 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; }
.nv-kat__lead { margin: 0; font-size: 18px; line-height: 1.6; max-width: 44ch; }
.nv-kat__facts { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.nv-kat__facts li { display: flex; align-items: center; gap: 10px; }
.nv-kat__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DFF9E; flex: none; }
.nv-kat__pic { width: 100%; aspect-ratio: 4 / 3; min-width: 0; }
.nv-kat__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-kat__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.nv-kat__count { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.nv-grid .nv-pc__media { aspect-ratio: 16 / 10; }
#prekes .section-head { margin-bottom: var(--s-5); }
.nv-filters { margin-bottom: var(--s-5); }

/* filtrai: žymimieji mygtukai (pills), tas pats stilius kaip variantų */
.nv-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-6); }
.nv-filters__grp { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nv-filters__grp legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.nv-filters__grp label { position: relative; cursor: pointer; }
.nv-filters__grp input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.nv-filters__grp input:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.nv-filters__grp span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nv-filters__grp label:hover span { color: var(--ink); }
.nv-filters__grp input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.nv-filters__sort { margin-left: auto; display: grid; gap: 8px; }
.nv-filters__sort label { font-size: 13px; font-weight: 500; color: var(--muted); }
.nv-filters__sort select {
  height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background-color: var(--p-surface); color: var(--ink);
  font: 500 14px/1 var(--font-text); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}

/* prekių tinklelis: 3 stulpeliai, planšetėje 2, telefone 1 */
.nv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.nv-grid[hidden], .nv-grid .nv-pc[hidden] { display: none; }
.nv-grid__empty { margin: var(--s-6) 0 0; font-size: 16px; }
.nv-grid__empty .link { appearance: none; border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 1023px) { .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); } }
@media (max-width: 639px) {
  .nv-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .nv-filters { gap: var(--s-3); }
  .nv-filters__sort { margin-left: 0; width: 100%; } .nv-filters__sort select { width: 100%; }
  .nv-kat__pic { aspect-ratio: 3 / 2; }
  .nv-kat__facts { display: none; }
  }
/* telefone: filtrai – viena slenkama juosta, prekės – braukiama eilė (kaip pagrindiniame puslapyje) */
@media (max-width: 639px) {
  #prekes .section-head { margin-bottom: var(--s-4); }
  .nv-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 calc(-1 * var(--gut)) var(--s-4); padding: 0 var(--gut); align-items: center; }
  .nv-filters::-webkit-scrollbar { display: none; }
  .nv-filters__grp { flex-wrap: nowrap; flex: none; }
  .nv-filters__grp legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nv-filters__sort { width: auto; flex: none; display: flex; align-items: center; }
  .nv-filters__sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nv-filters__sort select { width: auto; }
  .nv-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: var(--s-3); overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 8px; }
  .nv-grid::-webkit-scrollbar { display: none; }
  .nv-grid + .nv-grid { margin-top: 0; }
}

/* gidas: trys žingsniai kairėje, nuotrauka dešinėje */
.nv-guide-col { min-width: 0; }
.nv-guide { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.nv-guide li { display: block; }
.nv-guide__n { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; font-weight: 500; border: 1px solid var(--line-strong); margin-right: 12px; flex: none; }
.nv-guide h3 { margin: 0 0 6px; display: flex; align-items: center; font: 500 20px/1.3 var(--font-text); }
.nv-guide p { margin: 0; font-size: 16px; line-height: 1.6; }
.nv-guide__pic { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; min-width: 0; }
.nv-guide__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .nv-guide__pic { aspect-ratio: 3 / 2; } }

/* braukiamos eilės ir filtrai neištempia puslapio */
#prekes .wrap > *, #prekes .group > *, .nv-grid, .nv-filters { min-width: 0; }
.nv-filters { position: relative; }

/* =================== KREPŠELIS (krepselis.html) =================== */

.nv-cart__grid { align-items: start; }
.nv-cart__main { display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.nv-cart__main h1 { margin: 0; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.05; }

/* juosta iki nemokamo pristatymo: logotipo gradientas (vienintelis akcentas) */
.nv-free { display: grid; gap: 10px; }
.nv-free__text { margin: 0; font-size: 15px; }
.nv-free__text b { font-weight: 500; }
.nv-free__bar { height: 6px; border-radius: 3px; background: var(--p-surface); overflow: hidden; }
.nv-free__bar span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(.6);
  background: linear-gradient(90deg, #FF3FD0, #8B5CFF, #2DE2FF, #3DFF9E, #FFB23D); }

.nv-cart__list { list-style: none; margin: 0; padding: 0; display: grid; }
.nv-ci { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.nv-ci:first-child { border-top: 1px solid var(--line); }
.nv-ci__media { display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: #000; }
.nv-ci__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.nv-ci__media:hover img { transform: scale(1.03); }
.nv-ci__info { display: grid; gap: 6px; min-width: 0; }
.nv-ci__name { margin: 0; font: 500 18px/1.3 var(--font-text); }
.nv-ci__name a { color: inherit; }
.nv-ci__var { margin: 0; font-size: 14px; color: var(--muted); }
.nv-ci__ship { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.nv-ci__ship::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DFF9E; flex: none; }
.nv-ci__side { display: grid; justify-items: end; gap: 8px; }
.nv-ci__price { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.nv-ci__rm { appearance: none; border: 0; background: none; padding: 0; min-height: 44px; color: var(--muted); font: 400 14px/1 var(--font-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nv-ci__rm:hover { color: var(--ink); }
.nv-qty--sm { height: 44px; }
.nv-qty--sm button { width: 40px; }
.nv-cart__empty { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-6) 0; }
.nv-cart__empty[hidden] { display: none; }
.nv-cart__empty p { margin: 0; font-size: 18px; }

/* suvestinė */
.nv-sum { position: relative; display: grid; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); background: var(--p-surface); min-width: 0; }
.nv-sum__h { margin: 0; font: 500 22px/1.3 var(--font-text); }
.nv-del { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.nv-del legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nv-del__opt { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.nv-del__opt:hover { border-color: color-mix(in oklab, var(--ink) 45%, transparent); }
.nv-del__opt:has(input:checked) { border-color: var(--ink); }
.nv-del__opt input { width: 18px; height: 18px; margin: 0; accent-color: #fff; }
.nv-del__opt input:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.nv-del__txt { display: grid; gap: 2px; font-size: 15px; }
.nv-del__txt b { font-weight: 500; }
.nv-del__txt span { font-size: 13px; color: var(--muted); }
.nv-del__price { font-variant-numeric: tabular-nums; }
.nv-del__opt.is-off { border-style: dashed; cursor: not-allowed; }
.nv-del__opt.is-off b, .nv-del__opt.is-off .nv-del__price { text-decoration: line-through; }
.nv-del__off { display: none; color: var(--ink) !important; }
.nv-del__opt.is-off .nv-del__off { display: block; }
.nv-del__note { margin: 4px 0 0; font-size: 14px; color: var(--ink); }
.nv-del__note[hidden] { display: none; }
.nv-sum__rows { margin: 0; display: grid; gap: 10px; }
.nv-sum__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.nv-sum__rows dt { color: var(--muted); }
.nv-sum__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.nv-sum__total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px !important; font-weight: 500; }
.nv-sum__total dt { color: var(--ink) !important; }
.nv-sum__pay { width: 100%; height: 52px; font-size: 16px; justify-content: center; }
.nv-sum__pay-note { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.nv-sum__terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.nv-sum__terms li { display: flex; gap: 8px; }
.nv-sum__terms li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-top: 8px; flex: none; }

@media (max-width: 1023px) {
  .nv-cart__grid > * { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .nv-cartpage { height: auto; min-height: 0; }
  .nv-ci { grid-template-columns: 84px minmax(0, 1fr); gap: var(--s-3) var(--s-4); }
  .nv-ci__side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .nv-sum { padding: var(--s-5); }
}

/* =================== INFORMACIJA PIRKĖJAMS (pirkejams.html) =================== */
.nv-legal-hero { height: auto; min-height: 0; padding-bottom: var(--s-7); }
.nv-legal__head { display: grid; gap: var(--s-5); max-width: 760px; }
.nv-legal__head h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.nv-legal__lead { margin: 0; font-size: 18px; line-height: 1.6; }
.nv-legal__lead a, .nv-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.nv-legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-legal__toc a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--ink); transition: background-color var(--dur) var(--ease); }
.nv-legal__toc a:hover { background: var(--p-surface); }
.nv-legal__draft { margin: 0; font-size: 14px; color: #0a0a0f; background: #FFB23D; padding: 8px 14px; border-radius: var(--r-sm); justify-self: start; }

.nv-legal { display: grid; gap: var(--s-9); padding-bottom: var(--s-10); }
.nv-legal__doc { max-width: 760px; scroll-margin-top: calc(var(--nav) + 24px); }
.nv-legal__doc h2 { margin: 0 0 var(--s-5); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; padding-top: var(--s-7); border-top: 1px solid var(--line); }
.nv-legal__doc h3 { margin: var(--s-6) 0 var(--s-3); font: 500 20px/1.3 var(--font-text); }
.nv-legal__doc p, .nv-legal__doc li { font-size: 17px; line-height: 1.7; }
.nv-legal__doc p { margin: 0 0 var(--s-3); }
.nv-legal__rows { margin: 0 0 var(--s-5); }
.nv-legal__rows--wide > li { grid-template-columns: minmax(0, 1fr); }
.nv-legal__rows--wide > li > p { margin: 0; color: var(--muted); }
.nv-legal__steps { margin: 0 0 var(--s-5); padding-left: 1.3em; display: grid; gap: var(--s-3); }
.nv-legal__steps b { font-weight: 500; }
.nv-legal__form { padding: var(--s-5); border-radius: var(--r-md); background: var(--p-surface); border: 1px dashed var(--line-strong); }
.nv-legal__form p { font-size: 16px; }
.nv-legal__form p:last-child { margin: 0; }
@media (max-width: 639px) {
  .nv-legal { gap: var(--s-8); }
  .nv-legal__doc p, .nv-legal__doc li { font-size: 16px; }
  .nv-legal__rows .rows__value { white-space: normal; text-align: right; }
}
.nv-legal__head { align-content: start; }
.nv-legal__draft { align-self: start; height: auto; line-height: 1.4; }
