/* ============================================
   ZEALO · components/slider/slider.css  (sirf .sl* classes)
   ============================================ */
.sl {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 181, 173, 0.22);
  background: radial-gradient(90% 70% at 50% 35%, #3a3a3e 0%, #2a2a2d 55%, #1d1d1f 100%);
}
.sl__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline-offset: -2px;
}
.sl__track::-webkit-scrollbar { display: none; }

.sl__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
}
.sl img { display: block; cursor: zoom-in; -webkit-user-drag: none; }

.sl--cover .sl__slide,
.sl--contain .sl__slide { aspect-ratio: var(--sl-ratio, 4 / 5); }
.sl--cover img { width: 100%; height: 100%; object-fit: cover; }
.sl--contain img { width: 100%; height: 100%; object-fit: contain; }
.sl--auto img { width: min(100%, 720px); height: auto; max-height: min(82vh, 900px); object-fit: contain; }

.sl__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 181, 173, 0.5);
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.4s var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.sl__arrow--prev { left: 1rem; }
.sl__arrow--next { right: 1rem; }
.sl__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sl:hover .sl__arrow,
.sl__arrow:focus-visible { opacity: 1; }
.sl__arrow:hover:not(:disabled) { background: var(--pewter); color: var(--onyx); }
.sl__arrow:disabled { opacity: 0.2 !important; cursor: not-allowed; }

.sl__counter {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(185, 181, 173, 0.35);
  background: rgba(11, 11, 12, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--pewter);
}

.sl__dots { display: flex; justify-content: center; margin-top: 0.8rem; }
.sl__dots button { width: 24px; height: 24px; display: grid; place-items: center; }
.sl__dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(185, 181, 173, 0.35);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.sl__dots button[aria-current="true"]::before { background: var(--pewter); transform: scale(1.35); }

@media (hover: none), (max-width: 900px) {
  .sl__arrow { display: none; }
}

/* ---------- Bari image (click par) ---------- */
.sl-lb {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(11, 11, 12, 0.94);
  cursor: zoom-out;
}
.sl-lb img { max-width: 94vw; max-height: 90vh; object-fit: contain; cursor: zoom-out; }
.sl-lb__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 181, 173, 0.5);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--bone);
}
html.has-cursor .sl-lb,
html.has-cursor .sl-lb * { cursor: auto !important; }