/* =========================
   NXS Support slider (v3 - FIX wrap padding)
   - 3 carduri complete pe desktop
   - multi-step 1 card per click
   - titlu aliniat stanga
   - fara taiere din cauza padding-ului pe wrap
========================= */

.nxs-sup, .nxs-sup *{ box-sizing:border-box; }

.nxs-sup__wrap{
  max-width:1320px;
  margin:0 auto;
  padding:34px 24px 18px; /* RAMANE (nu vrem sa stricam layout-ul general) */
}

/* TITLU stanga */
.nxs-sup__title{
  margin:0 0 18px;
  font-size:34px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-0.02em;
  text-align:left;
}

.nxs-sup__rail{ position:relative; }

/* VIEWPORT
   IMPORTANT: scoatem sliderul in afara padding-ului wrap (24px)
   ca sa nu fie taiat cardul 3.
*/
.nxs-sup__viewport{
  width:calc(100% + 48px);   /* +24 stanga +24 dreapta */
  margin-left:-24px;
  margin-right:-24px;

  overflow-x:auto;
  overflow-y:hidden;

  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;

  scrollbar-width:none;
}
.nxs-sup__viewport::-webkit-scrollbar{ display:none; }

/* TRACK
   Punem padding inapoi in track, ca elementele sa fie aliniate cu continutul.
*/
.nxs-sup__track{
  display:flex;
  gap:24px;
  padding:0 24px; /* readuce alinierea cu wrap */
}

/* CARD */
.nxs-sup__card{
  flex:0 0 auto;
  width:420px;
  border-radius:26px;
  overflow:hidden;
  background:#f3f3f3;
  color:#111;
  text-decoration:none;
  display:block;
  scroll-snap-align:start;
}

.nxs-sup__media{
  padding:0px 0px 0;
}
.nxs-sup__img{
  display:block;
  width:100%;
  height:230px;
  object-fit:cover;
  border-radius:0px;
}

.nxs-sup__body{
  padding:20px 26px 26px;
}
.nxs-sup__kicker{
  font-size:14px;
  color:#444;
  margin-bottom:10px;
}
.nxs-sup__h3{
  margin:0 0 18px;
  font-size:24px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-0.01em;
  color:#222;
}
.nxs-sup__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:14px;
  background:#ffdd00;
  color:#111;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* SAGETI */
.nxs-sup__prev,
.nxs-sup__next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:0;
  background:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
  z-index:50;
}

/* sageti in dreptul continutului (aliniate cu marginile wrap-ului) */
.nxs-sup__prev{ left:6px; }
.nxs-sup__next{ right:6px; }

.nxs-sup__prev.is-hidden,
.nxs-sup__next.is-hidden{
  opacity:0;
  pointer-events:none;
}

/* Progress bars */
.nxs-sup__bars{
  display:flex;
  gap:16px;
  padding:18px 0 0;
  justify-content:space-between;
}
.nxs-sup__bar{
  height:2px;
  flex:1;
  background:#cfcfcf;
  border-radius:999px;
}
.nxs-sup__bar.is-on{ background:#ffdd00; }

/* Responsive widths */
@media (max-width: 1200px){
  .nxs-sup__card{ width:400px; }
}
@media (max-width: 980px){
  .nxs-sup__card{ width:360px; }
  .nxs-sup__img{ height:210px; }
}

/* Mobile: stacked */
@media (max-width: 860px){
  .nxs-sup__wrap{ max-width:none; padding:28px 16px 10px; }

  .nxs-sup__title{
    font-size:30px;
    margin-bottom:14px;
    text-align:left;
  }

  /* Pe mobil NU facem full-bleed, ramane natural */
  .nxs-sup__viewport{
    width:100%;
    margin:0;
    overflow:visible;
    scroll-snap-type:none;
  }

  .nxs-sup__track{
    display:block;
    padding:0;
  }

  .nxs-sup__card{
    width:100%;
    border-radius:28px;
    margin-bottom:18px;
    scroll-snap-align:none;
  }

  .nxs-sup__media{ padding:0px 0px 0; }
  .nxs-sup__body{ padding:18px 22px 22px; }

  .nxs-sup__img{
    height:240px;
    border-radius:0px;
  }

  .nxs-sup__prev,
  .nxs-sup__next{ display:none; }

  .nxs-sup__bars{ display:none; }
}


/* Ascunde sagetile */
.nxs-sup__prev,
.nxs-sup__next {
  display: none !important;
}

