
.shadan-gallery-lightbox[hidden] { display: none !important; }
.shadan-gallery-lightbox { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 20px; direction: rtl; }
.shadan-gallery-lightbox__backdrop { position: absolute; inset: 0; background: rgba(17, 27, 34, .91); backdrop-filter: blur(14px); }
.shadan-gallery-lightbox__dialog { position: relative; z-index: 2; width: min(1120px, calc(100vw - 40px)); height: min(840px, calc(100vh - 40px)); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.shadan-gallery-lightbox__media { grid-column: 2; grid-row: 1; position: relative; min-width: 0; min-height: 0; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 26px; }
.shadan-gallery-lightbox__image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 22px; box-shadow: 0 24px 72px rgba(0,0,0,.38); user-select: none; -webkit-user-drag: none; }
.shadan-gallery-lightbox__close,
.shadan-gallery-lightbox__nav { border: 0; color: #fff; background: rgba(255,255,255,.13); backdrop-filter: blur(10px); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.shadan-gallery-lightbox__close:hover,
.shadan-gallery-lightbox__nav:hover { transform: scale(1.06); background: rgba(255,255,255,.22); }
.shadan-gallery-lightbox__close { position: absolute; z-index: 4; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 50%; font-size: 30px; line-height: 1; }
.shadan-gallery-lightbox__nav { width: 56px; height: 56px; border-radius: 18px; font-size: 38px; display: grid; place-items: center; }
.shadan-gallery-lightbox__prev { grid-column: 1; grid-row: 1; }
.shadan-gallery-lightbox__next { grid-column: 3; grid-row: 1; }
.shadan-gallery-lightbox__footer { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; min-height: 38px; text-align: center; }
.shadan-gallery-lightbox__caption { margin: 0; color: rgba(255,255,255,.9); line-height: 1.8; }
.shadan-gallery-lightbox__count { flex: 0 0 auto; font-size: 13px; color: rgba(255,255,255,.65); }
body.shadan-gallery-lightbox-open { overflow: hidden !important; }
[data-round-carousel] [data-carousel-src],
[data-composite-coverflow] [data-coverflow-src],
[data-bleaching-stack] [data-image-src],
[data-orthodontics-carousel] [data-carousel-item],
[data-aligner-carousel] [data-aligner-slide],
[data-restoration-spin] [data-restoration-spin-item],
[data-endodontics-magnetic] [data-endodontics-magnetic-item] { cursor: zoom-in; }
@media (max-width: 767px) {
	.shadan-gallery-lightbox { padding: 10px; }
	.shadan-gallery-lightbox__dialog { width: calc(100vw - 20px); height: calc(100vh - 20px); grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 5px; }
	.shadan-gallery-lightbox__nav { width: 44px; height: 50px; border-radius: 14px; font-size: 30px; }
	.shadan-gallery-lightbox__close { top: 8px; left: 8px; width: 42px; height: 42px; }
	.shadan-gallery-lightbox__media { border-radius: 18px; }
	.shadan-gallery-lightbox__image { border-radius: 16px; }
	.shadan-gallery-lightbox__footer { flex-direction: column; gap: 2px; min-height: 54px; }
	.shadan-gallery-lightbox__caption { font-size: 13px; }
}

.shadan-gallery-lightbox-sources {
	display: none !important;
}
