/* ePaper / Blätterkatalog (inc-flipbook.xtpl) */
.flipbook {
    margin: 20px 0 40px;
}
.flipbook-stage {
    position: relative;
    background: #f2f2f2;
    padding: 20px;
    min-height: 300px;
}
.flipbook-book {
    margin: 0 auto;
}
.flipbook-book .flipbook-page {
    background: #fff;
    overflow: hidden;
}
.flipbook-book .flipbook-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}
.flipbook-loading {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    color: #666;
}
.flipbook-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
}
.flipbook-pageinfo {
    min-width: 90px;
    text-align: center;
    font-weight: bold;
}

/* Vollbild */
.flipbook:fullscreen {
    background: #333;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flipbook:fullscreen .flipbook-stage {
    background: #333;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flipbook:fullscreen .flipbook-book {
    width: 100%;
}
.flipbook:fullscreen .flipbook-pageinfo {
    color: #fff;
}
