html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body.catalog26-no-scroll {
    overflow: hidden;
}

header,
footer,
.header,
.footer {
    display: none !important;
}

.catalog26-shell {
    padding: 0 !important;
}

.catalog26-page {
    width: 100%;
    min-height: 100vh;
    padding: 24px 0 18px;
    background: #ffffff center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.catalog26-head-wrap {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.catalog26-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.catalog26-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.catalog26-logo {
    width: 200px;
    height: auto;
    display: block;
}

.catalog26-home-btn {
    font-family: Gabarito;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgb(38 38 38);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.catalog26-home-btn:hover {
    transform: translateY(-1px);
    background: rgb(213 13 13);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.catalog26-head {
    text-align: center;
    padding: 0 16px;
}

.catalog26-head h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #111827;
}

.catalog26-head p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.catalog26-fullscreen,
.catalog26-fullscreen * {
    box-sizing: border-box;
}

.catalog26-stage {
    width: 100%;
    max-width: 1240px;
    height: calc(100vh - 300px);
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

#catalog26-flipbook {
    width: 100%;
    height: 100%;
    max-width: 980px;
    max-height: 620px;
    aspect-ratio: 5700 / 3600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
    background: #fefefe;
}

#catalog26-flipbook .page {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

#catalog26-flipbook .page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    background: transparent;
}

.catalog26-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.catalog26-controls button {
    border: none;
    background: #111827;
    color: #fff;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.catalog26-controls button:hover {
    transform: translateY(-1px);
    background: #ce1717;
    opacity: 0.95;
}

.catalog26-counter {
    font-family: Gabarito;
    min-width: 86px;
    text-align: center;
    font-size: 14px;
    color: #374151;
}

.catalog26-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 18, 32, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 18px 18px 24px;
}

.catalog26-fullscreen.active {
    opacity: 1;
    visibility: visible;
}

.catalog26-fullscreen-stage {
    width: min(96vw, 1400px);
    height: calc(100vh - 120px);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#catalog26-fullscreen-flipbook {
    width: 100%;
    height: 100%;
    max-width: 1140px;
    max-height: 72vh;
    aspect-ratio: 5700 / 3600;
    filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.38));
}

#catalog26-fullscreen-flipbook .page {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#catalog26-fullscreen-flipbook .page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    background: transparent;
}

.catalog26-fullscreen-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(6px);
}

.catalog26-fullscreen-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.catalog26-fullscreen-controls button {
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    backdrop-filter: blur(6px);
}

.catalog26-fullscreen-counter {
    font-family: Gabarito;
    min-width: 86px;
    text-align: center;
    font-size: 14px;
    color: #e5e7eb;
}

@media (max-width: 768px) {
    .catalog26-head-wrap {
        padding: 0 12px;
    }

    .catalog26-topbar {
        margin-bottom: 14px;
        gap: 12px;
    }

    .catalog26-logo {
        width: 118px;
    }

    .catalog26-home-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .catalog26-page {
        padding: 18px 0 14px;
        gap: 14px;
    }

    .catalog26-head h1 {
        font-size: 24px;
    }

    .catalog26-stage {
        height: calc(100vh - 160px);
        min-height: 300px;
    }

    #catalog26-flipbook {
        max-width: 98vw;
        max-height: 360px;
        aspect-ratio: 2850 / 3600;
    }

    .catalog26-controls button {
        padding: 10px 15px;
        font-size: 13px;
    }

    .catalog26-fullscreen {
        padding: 12px 10px 18px;
        gap: 12px;
    }

    .catalog26-fullscreen-stage {
        width: 100%;
        height: calc(100vh - 110px);
        min-height: 280px;
    }

    #catalog26-fullscreen-flipbook {
        max-width: 96vw;
        max-height: 70vh;
        aspect-ratio: 2850 / 3600;
    }

    .catalog26-fullscreen-controls button {
        padding: 10px 15px;
        font-size: 13px;
    }

    .catalog26-fullscreen-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
        font-size: 26px;
    }
}

@media (min-width: 769px) {
    #catalog26-fullscreen-flipbook {
        cursor: grab;
    }
}