/* ── Ürün Detay Sayfası - Galeri (nn-gallery) Düzeltmeleri ── */

/* Fancybox zoom cursor */
.nn-main-slide a { cursor: zoom-in; }
.nn-main-slide img { transition: transform 0.3s ease; }
.nn-main-slide a:hover img { transform: scale(1.02); }

/* Zoom Modal */
.product-zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.zoom-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.zoom-modal-content img {
    width: auto; height: auto;
    max-width: 100%; max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.zoom-modal-close {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
    line-height: 1;
}
.zoom-modal-close:hover { color: #bbb; transform: scale(1.1); }

@media (max-width: 767px) {
    .zoom-modal-close { top: 10px; right: 10px; font-size: 30px; }
    .zoom-modal-content { padding: 10px; }
}
