/* Tam sürümden birebir (yp-galeri.css) */
/* yp-galeri: tam ekran ürün görüntüleyici + ana görselde yakınlaştırma */
html.ypz-kilit, html.ypz-kilit body { overflow: hidden !important; overscroll-behavior: none; }
.ypz { position: fixed; inset: 0; z-index: 100000; display: none; color: #fff; --ypz-arka: 1; -webkit-tap-highlight-color: transparent; }
.ypz.ypz-acik { display: block; animation: ypzAc .2s ease; }
@keyframes ypzAc { from { opacity: 0; } to { opacity: 1; } }
.ypz-arka { position: absolute; inset: 0; background: rgba(12,12,14,var(--ypz-arka)); }
.ypz-sahne { position: absolute; inset: 56px 0 92px; overflow: hidden; touch-action: none; cursor: zoom-in; }
.ypz.ypz-zoomlu .ypz-sahne { cursor: grab; }
.ypz.ypz-tek .ypz-sahne { bottom: 16px; }
.ypz-serit { display: flex; height: 100%; will-change: transform; }
.ypz-slayt { position: relative; flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ypz-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; transform-origin: 50% 50%; opacity: 0; transition: opacity .2s; }
.ypz-slayt.ypz-hazir .ypz-img { opacity: 1; }
.ypz-yuk { position: absolute; width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: ypzDon .8s linear infinite; }
.ypz-slayt.ypz-hazir .ypz-yuk { display: none; }
@keyframes ypzDon { to { transform: rotate(360deg); } }
.ypz-ust { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; z-index: 2; }
.ypz-sayac { font-size: 14px; font-weight: 600; letter-spacing: .5px; opacity: .9; }
.ypz-araclar { display: flex; gap: 6px; }
.ypz-btn, .ypz-ok { border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; transition: background .15s; }
.ypz-btn:hover, .ypz-ok:hover, .ypz-btn:focus-visible, .ypz-ok:focus-visible { background: rgba(255,255,255,.25); outline: none; }
.ypz-ok { position: absolute; top: 50%; margin-top: -22px; z-index: 2; }
.ypz-onceki { left: 14px; }
.ypz-sonraki { right: 14px; }
.ypz.ypz-tek .ypz-ok, .ypz.ypz-tek .ypz-alt { display: none; }
.ypz-alt { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; display: flex; gap: 8px; align-items: center; justify-content: safe center; padding: 0 12px; overflow-x: auto; scrollbar-width: none; z-index: 2; }
.ypz-alt::-webkit-scrollbar { display: none; }
.ypz-kucuk { flex: 0 0 auto; width: 56px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #222; opacity: .55; cursor: pointer; transition: opacity .15s, border-color .15s; }
.ypz-kucuk img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ypz-kucuk.ypz-aktif, .ypz-kucuk:hover { opacity: 1; border-color: #fff; }
@media (max-width: 767px) {
	.ypz-ok { display: none; }
	.ypz-sahne { inset: 52px 0 78px; }
	.ypz-ust { height: 52px; }
	.ypz-alt { height: 78px; }
	.ypz-kucuk { width: 46px; height: 58px; }
}

/* Ürün sayfası ana görsel: masaüstünde imleçle yakınlaştırma, tıklayınca tam ekran */
.pdp-main-img { cursor: zoom-in; overflow: hidden; }
.pdp-main-img .ypz-mercek { position: absolute; inset: 0; background-repeat: no-repeat; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 1; }
.pdp-main-img.ypz-mercekte .ypz-mercek { opacity: 1; }
.ypz-buyut-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #222; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); cursor: pointer; }
.ypz-buyut-btn:hover { background: #fff; }
.ypz-nokta { position: absolute; left: 0; right: 0; bottom: 14px; display: none; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.ypz-nokta span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 2px rgba(0,0,0,.4); transition: width .2s, background .2s; }
.ypz-nokta span.aktif { width: 18px; border-radius: 4px; background: #fff; }
@media (max-width: 991px) { .ypz-nokta { display: flex; } .pdp-main-img { touch-action: pan-y; } }
