/* Naydi.by Photo Slider — isolated styles */
.naydi-premium-gallery.naydi-slider-ready {
  --naydi-slides-visible: 3;
  display: block; position: relative; width: 100%; max-width: 900px;
  margin-inline: auto; padding: 0 42px 34px; box-sizing: border-box;
}
.naydi-slider-viewport { overflow: hidden; border-radius: 16px; touch-action: pan-y; }
.naydi-slider-track { display: flex; gap: 12px; transition: transform .35s ease; will-change: transform; }
.naydi-premium-gallery.naydi-slider-ready a.naydi-slider-slide {
  display: block; flex: 0 0 calc((100% - 24px) / 3); min-width: 0;
  border: 0; border-radius: 12px; box-shadow: none; text-decoration: none; overflow: hidden;
}
.naydi-premium-gallery.naydi-slider-ready a.naydi-slider-slide img {
  display: block; width: 100%; height: clamp(140px, 18vw, 220px); object-fit: cover;
  background: #f5f3f0; transform: none;
}
.naydi-slider-arrow {
  position: absolute; top: 45%; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: 1px solid #e5dfd8; border-radius: 50%;
  background: #fff; color: #292522; box-shadow: 0 3px 12px rgb(0 0 0 / 9%); font-size: 23px;
  line-height: 1; cursor: pointer; transform: translateY(-50%);
}
.naydi-slider-arrow:hover { background: #f3eee8; }
.naydi-slider-prev { left: 0; } .naydi-slider-next { right: 0; }
.naydi-slider-dots { position: absolute; right: 42px; bottom: 5px; left: 42px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; }
.naydi-slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d5cfc8; cursor: pointer; }
.naydi-slider-dot[aria-current="true"] { width: 19px; border-radius: 8px; background: #8a705d; }
.naydi-slider-arrow:focus-visible, .naydi-slider-dot:focus-visible { outline: 2px solid #8a705d; outline-offset: 3px; }
@media (max-width: 600px) {
  .naydi-premium-gallery.naydi-slider-ready { --naydi-slides-visible: 1; padding: 0 30px 30px; }
  .naydi-premium-gallery.naydi-slider-ready a.naydi-slider-slide { flex-basis: 100%; }
  .naydi-premium-gallery.naydi-slider-ready a.naydi-slider-slide img { height: clamp(190px, 65vw, 300px); object-fit: contain; }
  .naydi-slider-arrow { width: 29px; height: 29px; font-size: 19px; }
  .naydi-slider-dots { right: 30px; left: 30px; }
}
@media (prefers-reduced-motion: reduce) { .naydi-slider-track { transition: none; } }

/* Full-size photo viewer */
.naydi-premium-gallery.naydi-slider-ready img[role="button"] { cursor: zoom-in; }
.naydi-lightbox[hidden] { display: none !important; }
.naydi-lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 56px 72px; box-sizing: border-box; background: rgb(15 14 20 / 94%); }
.naydi-lightbox-image { display: block; max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 36px rgb(0 0 0 / 35%); }
.naydi-lightbox-close, .naydi-lightbox-arrow { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50%; background: rgb(255 255 255 / 12%); color: #fff; cursor: pointer; line-height: 1; }
.naydi-lightbox-close { top: 18px; right: 22px; width: 44px; height: 44px; font-size: 32px; }
.naydi-lightbox-arrow { top: 50%; width: 44px; height: 44px; font-size: 32px; transform: translateY(-50%); }
.naydi-lightbox-prev { left: 18px; } .naydi-lightbox-next { right: 18px; }
.naydi-lightbox-counter { position: absolute; bottom: 18px; left: 0; right: 0; color: #fff; text-align: center; font-size: 14px; }
.naydi-lightbox-close:hover, .naydi-lightbox-arrow:hover { background: rgb(255 255 255 / 25%); }
body.naydi-lightbox-open { overflow: hidden; }
@media (max-width: 600px) { .naydi-lightbox { padding: 58px 12px; } .naydi-lightbox-image { max-width: 100%; max-height: calc(100vh - 116px); } .naydi-lightbox-arrow { width: 36px; height: 36px; font-size: 26px; background: rgb(0 0 0 / 35%); } .naydi-lightbox-prev { left: 8px; } .naydi-lightbox-next { right: 8px; } .naydi-lightbox-close { top: 10px; right: 10px; } }
