/* ============================================================
   STN - Page Catalogue (flipbook)
   ============================================================ */

.stn-catalogue-hero {
    background: linear-gradient(135deg, #1B2050, #1E5A96);
    padding: 75px 20px;
    text-align: center;
    color: #fff;
}

.stn-catalogue-hero-inner h1 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    margin: 16px 0 12px;
}

.stn-catalogue-hero-inner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 28px;
}

.stn-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: #1B2050;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.stn-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.stn-download-btn svg {
    width: 20px;
    height: 20px;
}

/* ---------------- Section flipbook ---------------- */
.stn-catalogue-section {
    padding: 60px 20px 90px;
    background: #F8FAFB;
}

.stn-catalogue-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stn-flipbook-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.stn-fb-nav {
    padding: 10px 24px;
    border: 2px solid #1E5A96;
    border-radius: 50px;
    background: #fff;
    color: #1E5A96;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.stn-fb-nav:hover {
    background: #1E5A96;
    color: #fff;
}

.stn-fb-counter {
    font-size: 14.5px;
    font-weight: 600;
    color: #1B2050;
    min-width: 160px;
    text-align: center;
}

.stn-fb-fullscreen {
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stn-fb-fullscreen svg {
    width: 18px;
    height: 18px;
    display: block;
}

.stn-flipbook-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
wrap.is-fullscreen {
    background: #11163D;
    min-height: 100vh;
    justify-content: center;
}

.stn-flipbook-wrap:fullscreen {
    background: #11163D;
    min-height: 100vh;
    justify-content: center;
}

.stn-flipbook-wrap.is-fullscreen .stn-flipbook-loading,
.stn-flipbook-wrap:fullscreen .stn-flipbook-loading {
    color: rgba(255, 255, 255, 0.75);
}

.stn-flipbook-
.stn-flipbook {
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.stn-flipbook.ready {
    opacity: 1;
    visibility: visible;
}

.stn-flipbook-download {
    text-align: center;
    margin-top: 45px;
}

.stn-flipbook-download .stn-download-btn {
    background: linear-gradient(135deg, #1E5A96, #4A8BC2);
    color: #fff;
    box-shadow: 0 8px 25px rgba(30, 90, 150, 0.35);
}

.stn-flipbook-download .stn-download-btn:hover {
    box-shadow: 0 12px 32px rgba(30, 90, 150, 0.5);
}

.stn-fb-page {
    background: #fff;
}

.stn-fb-page canvas {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.stn-flipbook-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #6C757D;
    gap: 18px;
    text-align: center;
}

.stn-spinner {
    width: 46px;
    height: 46px;
    border: 4px solid #EBF4FB;
    border-top-color: #1E5A96;
    border-radius: 50%;
    animation: stn-spin 0.9s linear infinite;
}

@keyframes stn-spin {
    to { transform: rotate(360deg); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 640px) {
    .stn-flipbook-toolbar {
        gap: 10px;
    }

    .stn-fb-counter {
        min-width: auto;
        font-size: 13px;
    }

    .stn-fb-nav {
        padding: 8px 14px;
        font-size: 13px;
    }
}
