/* PDF katalog okuyucu — Real3D Flipbook tam ekran */

body.pdfcatalog.read .uye-panel-sidebar,
body.pdfcatalog.read .mains > .row.mains > .sidebar,
body.pdfcatalog.read .sidebar {
    display: none !important;
}

body.pdfcatalog.read .mains > .row.mains > section.content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
}

body.pdfcatalog.read .container.mains {
    max-width: none;
    padding: 0;
    width: 100%;
}

body.pdfcatalog.read .mains {
    margin: 0;
    max-width: 100%;
    padding: 0;
}

body.pdfcatalog.read .mains > .row.mains {
    margin: 0;
}

body.pdfcatalog.read .slide-area,
body.pdfcatalog.read .page-header {
    display: none !important;
}

body.pdf-magazine-active {
    background: #2b2b2b;
    overflow-x: hidden;
}

body.pdf-magazine-active main.main {
    background: #2b2b2b;
}

.pdf-flipbook-page {
    -webkit-touch-callout: none;
    margin: 0;
    max-width: 100%;
    position: relative;
    width: 100%;
    height: calc(100vh - 110px);
    height: calc(100dvh - 110px);
    min-height: 320px;
}

.pdf-flipbook-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pdf-flipbook-error {
    color: #ff8a8a;
    margin: 0;
    padding: 3rem 1rem;
    text-align: center;
}

/* Mobilde üst menü yüksekliği daha az */
@media (max-width: 991.98px) {
    .pdf-flipbook-page {
        height: calc(100vh - 96px);
        height: calc(100dvh - 96px);
    }
}

@media (max-width: 767.98px) {
    .pdf-flipbook-page {
        height: calc(100vh - 88px);
        height: calc(100dvh - 88px);
        min-height: 280px;
    }
}

@media (max-width: 479.98px) {
    .pdf-flipbook-page {
        height: calc(100vh - 76px);
        height: calc(100dvh - 76px);
    }
}

/* Tam ekran modu */
.pdf-flipbook-page:fullscreen,
.pdf-flipbook-page:-webkit-full-screen {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Koruma: sürükleme engeli (indirme zorlaştırma) */
.pdf-read-page--protected img {
    -webkit-user-drag: none;
    user-drag: none;
}
