/* NS Gadżety – Neon */
.nsgad{ padding: 42px 0; }
.nsgad__wrap{ max-width: 1180px; margin: 0 auto; padding: 0 18px; }

.nsgad__top{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(8,12,20,.52);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  overflow: hidden;
  position: relative;
}
.nsgad__top::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 260px at 15% 15%, rgba(173,68,255,.30), transparent 60%),
    radial-gradient(700px 260px at 85% 20%, rgba(0,229,255,.26), transparent 55%),
    radial-gradient(700px 340px at 55% 95%, rgba(0,255,153,.16), transparent 60%);
  pointer-events:none;
}
.nsgad__topInner{
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 22px;
  align-items: center;
}
.nsgad__hero{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.nsgad__hero img{ width:100%; height:100%; display:block; object-fit: cover; }

.nsgad__kicker{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0,229,255,.85);
  margin-bottom: 10px;
}
.nsgad__title{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 28px;
  color: rgba(255,255,255,.95);
}
.nsgad__lead{
  color: rgba(255,255,255,.80);
  line-height: 1.65;
  font-size: 15.5px;
}

.nsgad__grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.nsgad__card{
  border-radius: 20px;
  border: 1px solid rgba(0,229,255,.20);
  background: rgba(6,10,18,.56);
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
  overflow: hidden;
}
.nsgad__cardImg{
  aspect-ratio: 16/10;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nsgad__cardImg img{ width:100%; height:100%; object-fit: cover; display:block; }

.nsgad__cardBody{ padding: 16px 16px 18px; }
.nsgad__cardTitle{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,.95);
}
.nsgad__cardText{
  color: rgba(255,255,255,.80);
  font-size: 14.5px;
  line-height: 1.65;
}

.nsgad__btn{
  margin-top: 12px;
  width: 100%;
  border: 1px solid rgba(0,229,255,.35);
  background: rgba(0,229,255,.10);
  color: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 11px 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.nsgad__btn:hover{
  transform: translateY(-1px);
  background: rgba(0,229,255,.14);
  border-color: rgba(0,229,255,.55);
}

.nsgad__empty{
  margin-top: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.18);
  color: rgba(255,255,255,.70);
  padding: 16px;
  background: rgba(255,255,255,.03);
}

/* Modal */
.nsgad__modal{ display:none; }
.nsgad__modal[aria-hidden="false"]{
  display:flex;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px 13px;
}
.nsgad__modalOverlay{ position:absolute; inset:0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.nsgad__modalPanel{
  position: relative;
  width: min(820px, calc(100vw - 26px));
  margin: 0;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(0,229,255,.25);
  background: rgba(8,12,20,.88);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  -webkit-overflow-scrolling: touch;
}
.nsgad__modalHead{
  display:flex; align-items:center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nsgad__modalTitle{ font-weight: 900; color: rgba(255,255,255,.95); }
.nsgad__modalX{
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-size: 22px;
  cursor: pointer;
}
.nsgad__modalBody{
  padding: 16px;
  color: rgba(255,255,255,.84);
  line-height: 1.7;
}
.nsgad__modalBody table{
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
}
.nsgad__modalBody th, .nsgad__modalBody td{
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px;
}
.nsgad__modalBody th{
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
}

/* Responsive */
@media (max-width: 980px){
  .nsgad__topInner{ grid-template-columns: 200px 1fr; }
  .nsgad__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px){
  .nsgad__topInner{ grid-template-columns: 1fr; }
  .nsgad__grid{ grid-template-columns: 1fr; }
  .nsgad__modal[aria-hidden="false"]{ padding: 18px 10px; }
  .nsgad__modalPanel{ max-height: calc(100vh - 36px); }
}


/* Neon size table */
.nsgad__sizeTable{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,229,255,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.nsgad__sizeTable thead th{
  background: rgba(0,229,255,.08);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 13px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nsgad__sizeTable tbody td{
  padding: 10px 12px;
  color: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  font-size: 13.5px;
}
.nsgad__sizeTable tbody tr:hover td{
  background: rgba(0,229,255,.06);
}
.nsgad__sizeTable tbody tr:last-child td{
  border-bottom: 0;
}

/* Price (neon blue) */
.nsgad__priceWrap{
  margin-top: -4px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

/* Omnibus: najniższa cena z 30 dni przed obniżką */
.nsgad__omnibus{
  margin-top: -6px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,.80);
}
.nsgad__omnibus strong{
  color: rgba(255,255,255,.92);
  font-weight: 900;
}
.nsgad__priceNew{
  font-weight: 900;
  font-size: 16px;
  color: rgba(0,229,255,.95);
  text-shadow: 0 0 18px rgba(0,229,255,.28);
}
.nsgad__priceOld{
  font-weight: 800;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(0,229,255,.65);
}
