/* Standalone page styling only. Do not rely on this for embedded usage. */
body.catalogue-page {
    margin: 0;
    background-color: #f3f4f6;
}

.catalogue-flipbook {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
    transition: transform 0.3s ease-in-out;
    transform-origin: center center;
}

.catalogue-page-sheet {
    background-color: white;
    border: solid 1px #e5e7eb;
    overflow: hidden;
}

.catalogue-page-sheet.--left {
    border-right: 0;
    box-shadow: inset -7px 0 30px -7px rgba(0, 0, 0, 0.1);
}

.catalogue-page-sheet.--right {
    border-left: 0;
    box-shadow: inset 7px 0 30px -7px rgba(0, 0, 0, 0.1);
}

.catalogue-page-sheet.catalogue-hard {
    background-color: #1e293b;
    border: solid 1px #0f172a;
}

.catalogue-page-sheet.catalogue-hard .catalogue-page-content {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
    text-align: center;
}

@media (min-width: 768px) {
    .catalogue-page-sheet.catalogue-hard .catalogue-page-content {
        padding: 20px;
    }
}

.catalogue-page-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.catalogue-page-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.catalogue-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d6621d;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.catalogue-hidden {
    display: none !important;
}

.catalogue-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(32, 28, 23, 0.72);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 42px 20px 28px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.catalogue-modal.active {
    display: flex;
    opacity: 1;
    z-index: 9999;
}

.catalogue-wrapper {
    position: relative;
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.catalogue-modal.active .catalogue-wrapper {
    transform: translateY(0);
}




.catalogue-book {
    position: absolute;
    top: -88px;
    left: 50%;
    width: min(382px, calc(100% - 78px));
    height: 204px;
    min-height: 204px;
    transform: translateX(-50%);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 2;
}

.catalogue-book::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -8px;
    height: 28px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    filter: blur(20px);
    z-index: -1;
}

.catalogue-book #modal-loading-view,
.catalogue-book .catalogue-flipbook {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.2);
}

.catalogue-book #modal-loading-view {
    background: linear-gradient(180deg, #fbfbfb 0%, #eef1f4 100%);
}

.catalogue-book .catalogue-page-sheet {
    border: 0;
}

.catalogue-book .catalogue-page-sheet.--left,
.catalogue-book .catalogue-page-sheet.--right {
    box-shadow: none;
}

#flipbook-toolbar {
    display: none !important;
}








.download-btn1:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92), 0 14px 25px rgba(197, 82, 18, 0.2);
}

@media (max-width: 767px) {
    .catalogue-modal {
        padding: 26px 16px 18px;
    }

    .catalogue-wrapper {
        gap: 16px;
    }

    .modal-close {
        top: 20px;
        right: 0;
    }

    .catalogue-heading {
        padding: 0 8px;
    }

    .catalogue-heading p {
        font-size: 1rem;
    }

    

    .catalogue-book {
        top: -52px;
        width: calc(100% - 44px);
        height: 164px;
        min-height: 164px;
    }

    .catalogue-form {
        gap: 14px;
    }

    .catalogue-form input {
        height: 54px;
        border-radius: 14px;
        padding: 0 16px;
    }

    .download-btn1 {
        min-width: 146px;
        padding: 14px 28px;
    }
}
.catalogue-end-note {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  text-align: center;
}

.catalogue-swipe-hint {
  margin: 8px 0 18px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: #7a746d;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}