/* Galeri Konteyneri */
.woocommerce-product-gallery {
    position: relative;
}

/* Ok Stilleri */
.salome-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 21;
    line-height: 1;
    user-select: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.salome-arrow:hover {
    opacity: 1;
}

.salome-left {
    left: 15px;
}

.salome-right {
    right: 15px;
}

/* SVG Oklar için ek stil */
.salome-arrow svg {
    width: 24px;
    height: 24px;
}

/* ===== MODAL STİLLERİ - KESIN ORTALA ===== */
#salome-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
}

/* Modal Açık Durumu */
#salome-modal.show {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#salome-modal img {
    max-width: 90% !important;
    max-height: 90% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    animation: salome-modal-zoom-in 0.3s ease-out;
    margin: auto !important;
    display: block !important;
}

/* Modal Resim Açılış Animasyonu */
@keyframes salome-modal-zoom-in {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Kapatma Butonu */
#salome-close {
    position: absolute !important;
    top: 20px !important;
    right: 30px !important;
    color: white !important;
    font-size: 40px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: transform 0.2s !important;
    z-index: 1000000 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: normal !important;
    display: block !important;
}

#salome-close:hover {
    transform: scale(1.2);
    color: white !important;
}

/* Zoom Penceresi Stilleri */
#salome-zoom-container {
    display: none;
    position: absolute;
    border: 2px solid #ddd;
    background-repeat: no-repeat;
    background-color: #fff;
    z-index: 99;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Zoom Merceği Şekli (Kare/Yuvarlak) */
.salome-zoom-circle #salome-zoom-container {
    border-radius: 50%;
}

.salome-zoom-square #salome-zoom-container {
    border-radius: 0;
}