/* Arte Halı — ortak ışık kutusu (lightbox). Betik: isik-kutusu.js. Vitrin ve panel birlikte kullanır.
   Geçiş yana kaymadır (transform); seçili küçük resim outline + outline-offset ile vurgulanır. */
.ik{position:fixed;inset:0;z-index:120;background:rgba(10,11,14,.95);display:flex;flex-direction:column;color:#fff;animation:ik-gir .2s ease}
@keyframes ik-gir{from{opacity:0}to{opacity:1}}
.ik-ust{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;flex:0 0 auto}
.ik-sayac{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.ik-kapat{width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s ease}
.ik-kapat:hover{background:rgba(255,255,255,.28)}
.ik-sahne{position:relative;flex:1 1 0;min-height:0;overflow:hidden;overflow:clip;touch-action:pinch-zoom;cursor:zoom-out}
.ik-serit{display:flex;width:100%;height:100%;transition:transform .4s cubic-bezier(.2,.8,.2,1);will-change:transform}
.ik-serit.suruklerken{transition:none}
.ik-kare{flex:0 0 100%;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 72px;min-width:0}
.ik-kare picture{display:contents}
.ik-kare img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border:1px solid rgba(255,255,255,.16);border-radius:4px;background:#fff;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.ik-serit.suruklerken img{cursor:grabbing}
.ik-ok{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s ease,opacity .2s ease}
.ik-ok:hover{background:rgba(255,255,255,.28)}
.ik-onceki{left:14px}
.ik-sonraki{right:14px}
.ik-ok[disabled]{opacity:.25;cursor:default}
.ik-kucukler{position:relative;flex:0 0 auto;display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:14px 16px 18px}
.ik-kucukler::-webkit-scrollbar{display:none}
/* Az görselde ortalanır; taşınca auto kenar boşluğu sıfırlanır ve şerit baştan kayar */
.ik-kucukler>:first-child{margin-left:auto}
.ik-kucukler>:last-child{margin-right:auto}
.ik-kucuk{flex:0 0 auto;width:54px;height:72px;padding:0;border:0;border-radius:4px;overflow:hidden;background:#2B2E35;opacity:.5;transition:opacity .2s ease}
.ik-kucuk img{width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
.ik-kucuk:hover{opacity:.85}
.ik-kucuk.secili{opacity:1;outline:2px solid #fff;outline-offset:2px}
.ik :focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (max-width:1023px){
  .ik-kare{padding:0 8px}
  .ik-ok{width:44px;height:44px;background:rgba(17,19,24,.55)}
  .ik-onceki{left:8px}
  .ik-sonraki{right:8px}
  .ik-kucuk{width:48px;height:64px}
  .ik-kucukler{padding:12px 12px 16px}
}
@media (prefers-reduced-motion:reduce){.ik,.ik-serit{animation:none;transition:none}}
