/* Customer-friendly image lightbox — used on the shop product page and the
   Studio Product Desk. Any <img data-zoom> becomes click-to-enlarge; images
   sharing a data-zoom-group can be browsed with arrows/keys. */
[data-zoom] { cursor: zoom-in; transition: transform .12s ease, box-shadow .12s ease; }
[data-zoom]:hover { transform: translateY(-2px); }

.ijlb {
  position: fixed; inset: 0; z-index: 10000; display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 10, 26, .93);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ijlb.is-open { display: flex; }

.ijlb__img {
  max-width: 92vw; max-height: 88vh; width: auto; height: auto;
  border-radius: 10px; object-fit: contain; cursor: zoom-out;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  -webkit-user-select: none; user-select: none;
  animation: ijlb-in .18s ease;
}
@keyframes ijlb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

.ijlb__btn {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff;
  width: 52px; height: 52px; border: none; border-radius: 50%;
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease; -webkit-tap-highlight-color: transparent;
}
.ijlb__btn:hover { background: rgba(255, 255, 255, .28); }
.ijlb__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ijlb__close { top: 20px; right: 20px; font-size: 30px; }
.ijlb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.ijlb__next { right: 20px; top: 50%; transform: translateY(-50%); }

.ijlb__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; letter-spacing: .03em;
  background: rgba(0, 0, 0, .38); padding: 5px 14px; border-radius: 999px;
}
.ijlb__hint {
  position: absolute; bottom: 24px; right: 24px;
  color: rgba(255, 255, 255, .55); font-size: 12px;
}

@media (max-width: 640px) {
  .ijlb__btn { width: 44px; height: 44px; font-size: 22px; }
  .ijlb__prev { left: 8px; } .ijlb__next { right: 8px; }
  .ijlb__close { top: 12px; right: 12px; }
  .ijlb__img { max-width: 96vw; max-height: 82vh; }
  .ijlb__hint { display: none; }
}
