/* ============================================================================
   Görsel büyütme perdesi (lightbox) — site tarafı
   Tetikleyici: `.js-kapak-buyut` sınıflı bağlantı (kaynak href'ten okunur).
   Davranış: static/js/lightbox.js
   Kitap detayı ve set detayındaki kapak görselleri için kullanılır; görsel
   yeni sekmede açılmak yerine sayfanın üstünde büyütülür.
   ============================================================================ */
.kapak-perde {
    position: fixed;
    inset: 0;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(15, 15, 18, 0.88);
}
.kapak-perde.acik { display: flex; }
body.kapak-perde-acik { overflow: hidden; }
.kapak-perde figure {
    margin: 0;
    max-width: 100%;
    text-align: center;
}
.kapak-perde img {
    display: block;
    margin: 0 auto;
    max-width: min(92vw, 720px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    background: #fff;
}
.kapak-perde figcaption {
    margin-top: 12px;
    color: #f2f2f2;
    font-size: 14px;
    line-height: 1.4;
    max-width: min(92vw, 720px);
}
.kapak-perde-kapat {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 0;
    line-height: 40px;
    font-size: 30px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}
.kapak-perde-kapat:hover { background: rgba(255, 255, 255, 0.26); }
@media (min-width: 1025px) {
    .js-kapak-buyut { cursor: zoom-in; }
}
