/*
    Ürünler sayfasına (product.html) özel fotoğraf lightbox stilleri.
    Sadece ürün fotoğrafları için kullanılır; galeri sayfasındaki
    .gallery-* stillerinden ve diğer sayfalardan tamamen bağımsızdır.
*/

.wt-thum-bx.wt-img-overlay1.wt-img-effect.zoom img {
    cursor: zoom-in;
}

.product-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 90px;
    box-sizing: border-box;
}

.product-image-lightbox.is-open {
    display: flex;
}

.product-lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 23, 60, 0.92);
}

.product-lightbox-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: #ceb034;
    color: #00173c;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.product-lightbox-close:hover {
    background-color: #fff;
}

.product-lightbox-prev,
.product-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: rgba(206, 176, 52, 0.9);
    color: #00173c;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.product-lightbox-prev:hover,
.product-lightbox-next:hover {
    background-color: #fff;
}

.product-lightbox-prev {
    left: 24px;
}

.product-lightbox-next {
    right: 24px;
}

.product-lightbox-prev[hidden],
.product-lightbox-next[hidden] {
    display: none;
}

@media only screen and (max-width: 767px) {
    .product-image-lightbox {
        padding: 90px 20px;
    }

    .product-lightbox-close {
        top: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .product-lightbox-prev,
    .product-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .product-lightbox-prev {
        left: 10px;
    }

    .product-lightbox-next {
        right: 10px;
    }
}
