/* Theme Supports */

.bclib-container{
    color: #000;
}
.book-catalogue-library-single-page #content .ast-container,
.book-catalogue-library-archive-page #content .ast-container,
.book-catalogue-library-author-tax-page #content .ast-container,
.book-catalogue-library-category-tax-page #content .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.book-catalogue-library-single-page .site-content {
    display: block !important;
}

.bclib-book-loop-content-wrapper a {
    text-decoration: none !important;
}

/* Plugin Design Css Start From Here */
.bclib-archive-pages-wrapper {
    background: #f1f1f1;
    padding: 30px 0 30px 0;
    width: 100%;
}

.masonaryactive {
    position: relative;
    display: block;
    overflow: visible !important;
    min-height: auto;
}

body.bclib-book-showcase-page .bclib-books-showcase-book-loop-container img {
    max-width: 100% !important;
    height: auto;
}

.bclib-book-author-container-inner {
    background: #fff;
    padding: 30px;
}

.bclib-book-category-container-inner {
    background: #fff;
    padding: 30px;
}

.bclib-book-single-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.book-single-column.book-col-have-margin {
    margin-bottom: 30px;
}

.book-single-column.book-col-have-margin .book-grid-layout {
    margin-bottom: 0;
    height: 100%;
}

.bclib-book-single-wrapper img {
    max-width: 100%;
    max-height: max-content;
    height: auto;
}

.book-catalogue-library-archive-page .book-content-column,
.book-catalogue-library-author-tax-page .book-content-column,
.book-catalogue-library-category-tax-page .book-content-column {
    margin-bottom: 30px;
}

.bclib-book-container {
    border: 1px solid #f1f1f1;
    margin-bottom: 30px;
}

.align-self-stretch .bclib-book-container {
    background: #fff;
}

.bclib-books-showcase-book-loop-container {
    margin-top: 40px;
}

article.page .bclib-books-showcase-book-loop-container,
article.post .bclib-books-showcase-book-loop-container {
    margin-top: 0;
}

.bclib-book-loop-content-wrapper {
    background: #ffff;
    padding: 15px;
}

.editor-styles-wrapper .bclib-book-loop-content-wrapper a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}

body.single-post.right-sidebar .book-grid-layout h2.book-title,
body.single-post.left-sidebar .book-grid-layout h2.book-title,
body.single-post.both-sidebar .book-grid-layout h2.book-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 0;
}

body.single-post.right-sidebar .book-grid-layout h2.book-title a body.single-post.left-sidebar .book-grid-layout h2.book-title a,
body.single-post.both-sidebar .book-grid-layout h2.book-title a {
    display: block;
    color: #000;
}

.bclib-book-loop-content-wrapper .book-title,
.editor-styles-wrapper .bclib-book-loop-content-wrapper .book-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
    line-height: 32px;
}

.bclib-book-loop-content-wrapper .book-title a {
    color: #000;
    font-weight: 600;
}

.editor-styles-wrapper .bclib-book-loop-content-wrapper .book-title a {
    color: #000;
}

.bclib-book-loop-content-wrapper .book-title a,
.bclib-book-loop-content-wrapper .book-author a {
    transition: .4s;
}

.bclib-book-loop-content-wrapper .book-author a {
    color: #444;
}

.editor-styles-wrapper .bclib-book-loop-content-wrapper .book-author a {
    color: #444;
}

.bclib-book-loop-content-wrapper .book-title a:hover,
.bclib-book-loop-content-wrapper .book-author a:hover {
    color: #3eb059;
}

.bclib-book-loop-content-wrapper .book-author {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 10px;
}

.book-content-column .book-content-wraper {
    text-align: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #f1f1f1;
}

.bclib-book-loop-content-wrapper .book-buy-btn a.bclib-book-buy-now-button {
    background: #39b152;
    color: #fff;
    text-transform: capitalize;
    border: none;
    font-weight: 400;
    font-size: 15px;
    align-self: center;
}

.bclib-book-loop-content-wrapper .book-buy-btn a.bclib-book-buy-now-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.bclib-book-loop-content-wrapper .book-author strong {
    font-weight: 700;
    color: #444;
}

.bclib-book-loop-content-wrapper a {
    text-decoration: none;
}

.bclib-book-loop-image {
    margin-bottom: 0;
}

.bclib-book-loop-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.bclib-book-container.book-list-layout.thumbnail-position-right .bclib-book-loop-image img,
.bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image img {
    margin: 0 0;
    height: auto;
}

.bclib-book-container.book-list-layout.thumbnail-position-right .bclib-book-loop-image {
    display: flex;
    justify-content: end;
}

.bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image {
        margin-bottom: 20px;
    }
}

.bclib-book-loop-content-wrapper a:hover,
.bclib-book-loop-content-wrapper a:focus {
    text-decoration: underline;
}

.bclib-book-loop-content-wrapper .book-title a:hover,
.bclib-book-loop-content-wrapper .book-title a:focus,
.bclib-book-loop-content-wrapper .book-author a:hover,
.bclib-book-loop-content-wrapper .book-author a:focus {
    text-decoration: none !important;
}

.bclib-book-loop-content-wrapper .book-price .regular-price {
    margin-right: 10px;
}

.bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price {
    margin-right: 0;
}

.bclib-book-loop-content-wrapper .book-price .regular-price.previous-price strong {
    font-weight: 400;
    text-decoration: line-through;
}

.bclib-book-loop-content-wrapper .book-price {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 20px;
}

.book-gallery-list-layout-1-col .book-list-layout {
    background: #fff;
    padding: 30px;
}

.book-gallery-list-layout-2-col .book-list-layout {
    background: #fff;
    padding: 15px;
}

.book-gallery-list-layout-3-col .book-list-layout {
    background: #fff;
    padding: 10px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-title {
    font-size: 36px;
    line-height: 46px;
}

.book-gallery-list-layout-3-col .book-list-layout .book-title {
    font-size: 18px;
    line-height: 28px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-author {
    font-size: 24px;
}

.book-gallery-list-layout-1-col .book-list-layout .msl-text {
    margin-top: 0;
}

.book-gallery-list-layout-1-col .book-list-layout .book-also-available-websites-wrapper {
    margin-top: 0;
}

.book-gallery-list-layout-3-col .book-list-layout .book-author {
    font-size: 15px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-price {
    font-size: 36px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-desc {
    font-size: 18px;
    margin-bottom: 20px;
}

.book-gallery-list-layout-3-col .book-list-layout .book-buy-btn a {
    font-size: 14px;
    padding: 10px 20px;
    line-height: normal;
}

.book-gallery-list-layout-3-col .book-single-column {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.book-gallery-list-layout-3-col .book-single-column .bclib-book-container {
    margin-bottom: 20px;
}

.book-gallery-list-layout-3-col .book-list-layout .book-desc {
    font-size: 14px;
}

.book-gallery-list-layout-2-col .bclib-book-loop-content-wrapper {
    padding: 0;
}

.book-gallery-list-layout-3-col .bclib-book-loop-content-wrapper {
    padding: 0;
    background: transparent;
}

.book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .book-multiple-sales-links {
    margin-top: 30px;
}

.book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 0;
}

.book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .msl-title-wrapper {
    margin-bottom: 15px;
}

@media (max-width: 1200px) {
    .book-gallery-list-layout-1-col .book-list-layout .book-title {
        font-size: 36px;
        line-height: 46px;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-author {
        font-size: 26px;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-price {
        font-size: 30px;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-desc {
        font-size: 18px;
    }

    .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .book-gallery-list-layout-1-col .book-list-layout .book-title {
        font-size: 32px !important;
        line-height: 46px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-author {
        font-size: 24px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-price {
        font-size: 30px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-desc {
        font-size: 18px !important;
    }

    .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .book-gallery-list-layout-1-col .book-list-layout .book-title {
        font-size: 26px !important;
        line-height: 36px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-author {
        font-size: 20px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-price {
        font-size: 26px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-desc {
        font-size: 16px !important;
    }

    .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
}

.bclib-book-showcase-page-title {
    margin-bottom: 30px;
    padding: 15px 30px;
    background: #fff;
    border: 1px solid #f1f1f1;
    color: #000000;
}

.book-catalogue-library-single-page {
    background: #f1f1f1;
}

body.custom-background .bclib-book-showcase-page-title {
    background: #fff;
    border-radius: 5px;
    padding: 15px 30px;
}

.bclib-book-showcase-page-title h1 {
    font-size: 32px;
    font-weight: 700;
    padding-bottom: .2em;
    line-height: normal;
    margin-top: 0;
    color: #000;
}

.bclib-book-showcase-page-title p:last-child {
    margin-bottom: 0;
}

.bclib-book-showcase-page-title p {
    margin-top: 0;
}

.bclib-book-single-header-content-container {
    background: #ffffff;
    padding: 50px 0;
    margin-bottom: 2em;
    border: 1px solid #f1f1f1;
}

.bclib-book-single-header-content-container.others-pages {
    padding-top: 15px;
    padding-bottom: 15px;
}

.bclib-book-image-wrapper a {
    display: block;
}

.bclib-book-image-wrapper a img {
    display: block;
}

.bclib-book-image-wrapper img {
    max-width: 100%;
}

.bclib-book-single-header-content-container h1.book-name,
.bclib-book-single-header-content-container h2.book-name {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    margin-top: 0;
    color: #000;
    line-height: 46px;
}

@media (max-width: 767px) {

    .bclib-book-single-header-content-container h1.book-name,
    .bclib-book-single-header-content-container h2.book-name {
        font-size: 26px;
        line-height: 36px;
    }
}

.bclib-book-single-header-content-container.others-pages h2.book-name {
    font-size: 28px;
    margin: 0 0 5px 0;
}

.bclib-book-single-header-content-container.others-pages h2.book-name a {
    color: #000;
    display: block;
}

.bclib-book-single-header-content-container.others-pages a {
    text-decoration: none;
}

.bclib-book-single-header-content-container h4.book-author {
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 0;
    color: #000;
}

.bclib-book-single-header-content-container h4.book-author br {
    display: none;
}

.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:hover {
    background: transparent;
}

.bclib-book-single-header-content-container.others-pages h4.book-author {
    font-size: 16px;
}

.bclib-book-content-wrapper .book-ratings {
    margin-bottom: 15px;
    color: #3eb059;
}

.bclib-book-content-wrapper .total-ratings {
    margin-left: 10px;
}

.bclib-book-single-header-content-container .book-ratings a.rating-link {
    color: #3eb059;
}

.bclib-book-single-header-content-container .book-ratings a.rating-link .total-ratings {
    margin-left: 6px;
    word-spacing: 1px;
    text-transform: capitalize;
}

.bclib-book-short-description p:last-child {
    margin-bottom: 0;
}

.bclib-book-short-description p:first-child {
    margin-top: 0px;
}

.bclib-book-single-header-content-container h4.book-author a {
    color: #444;
    text-decoration: none;
    transition: .4s;
}

.bclib-book-single-header-content-container h4.book-author a:hover {
    color: #3eb059;
}

.bclib-book-single-header-content-container .book-price {
    margin-bottom: 20px;
    align-items: center;
    font-size: 22px;
}

.bclib-book-single-header-content-container .book-price>strong {
    font-weight: 300;
}

.bclib-book-single-header-content-container .book-price .regular-price.previous-price {
    text-decoration: line-through;
    font-weight: 100;
    margin-right: 10px;
    font-size: 28px;
}

.bclib-book-single-header-content-container .book-price .sale-price {
    font-size: 25px;
}

.bclib-book-loop-content-wrapper.book-content-column.content-align-left * {
    text-align: left;
}

body.single-post .book-also-available-website-list a:hover {
    color: #fff;
}

.bclib-book-loop-content-wrapper.content-align-left .book-title,
.bclib-book-loop-content-wrapper.content-align-left .book-author,
.bclib-book-loop-content-wrapper.content-align-left .book-price,
.bclib-book-loop-content-wrapper.content-align-left .book-desc,
.bclib-book-loop-content-wrapper.content-align-left .bclib-book-buttons-wrapper {
    text-align: left;
    justify-content: flex-start;
}

.bclib-book-loop-content-wrapper.content-align-right .book-title,
.bclib-book-loop-content-wrapper.content-align-right .book-author,
.bclib-book-loop-content-wrapper.content-align-right .book-price,
.bclib-book-loop-content-wrapper.content-align-right .book-desc,
.bclib-book-loop-content-wrapper.content-align-right .bclib-book-buttons-wrapper {
    text-align: right;
    justify-content: flex-end;
}

.bclib-book-loop-content-wrapper.content-align-center .book-title,
.bclib-book-loop-content-wrapper.content-align-center .book-author,
.bclib-book-loop-content-wrapper.content-align-center .book-price,
.bclib-book-loop-content-wrapper.content-align-center .book-desc,
.bclib-book-loop-content-wrapper.content-align-center .bclib-book-buttons-wrapper {
    text-align: center;
    justify-content: center;
}

.bclib-book-slider.slider-content-left .book-title,
.bclib-book-slider.slider-content-left .book-author,
.bclib-book-slider.slider-content-left .book-price,
.bclib-book-slider.slider-content-left .book-desc,
.bclib-book-slider.slider-content-left .bclib-book-buttons-wrapper {
    text-align: left;
    justify-content: flex-start;
}

.bclib-book-slider.slider-content-right .book-title,
.bclib-book-slider.slider-content-right .book-author,
.bclib-book-slider.slider-content-right .book-price,
.bclib-book-slider.slider-content-right .book-desc,
.bclib-book-slider.slider-content-right .bclib-book-buttons-wrapper {
    text-align: right;
    justify-content: flex-end;
}

.bclib-book-slider.slider-content-center .book-title,
.bclib-book-slider.slider-content-center .book-author,
.bclib-book-slider.slider-content-center .book-price,
.bclib-book-slider.slider-content-center .book-desc,
.bclib-book-slider.slider-content-center .bclib-book-buttons-wrapper {
    text-align: center;
    justify-content: center;
}


.bclib-book-single-header-content-container .bclib-book-external-website-list .website-list-container a:hover,
.bclib-book-single-header-content-container .bclib-book-external-website-list .website-list-container a:focus,
.bclib-book-single-header-content-container .bclib-book-external-website-list .website-list-container a:active {
    background: #000 !important;
    color: #fff;
}

.bclib-book-single-header-content-container h4.also-available-in {
    margin-top: 2em;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list {
    margin-top: 1em;
    width: 200px;
    position: relative;
}

a.bclib-book-buy-now-button {
    background: #fb4747;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    transition: .4s;
}

a.bclib-book-buy-now-button:hover {
    background: #000;
    color: #fff;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:hover,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:active,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:focus {
    background: #000 !important;
    color: #fff;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list ul.website-list-container {
    display: block;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: calc(100% + 15px);
    box-shadow: 0px 9px 15px -10px #00000036;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    z-index: 5;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list ul.website-list-container.open {
    visibility: visible;
    opacity: 1;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list ul.website-list-container:before {
    position: absolute;
    content: "";
    border: 10px solid transparent;
    border-bottom-color: #fff;
    width: 20px;
    height: 20px;
    left: calc(50%);
    margin-left: -5px;
    top: -20px;
}

.bclib-book-content-wrapper a.bclib-book-buy-now-button {
    background: #39b152;
    padding: 10px 35px;
    border: 1px solid #39b152;
    color: #fff;
    transition: .4s;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

.bclib-book-single-header-content-container.others-pages .bclib-book-content-wrapper a.bclib-book-buy-now-button {
    text-transform: capitalize;
    font-weight: 400;
    padding: 6px 25px;
}

.bclib-book-content-wrapper a.bclib-book-buy-now-button:hover {
    background: #000000;
    color: #fff;
}

.bclib-book-webstore-buttons {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin: 22px auto 0;
    max-width: 520px;
    width: 100%;
}

.bclib-book-webstore-button {
    --bclib-store-color: #2563eb;
    align-items: center;
    background: var(--bclib-store-color);
    border: 2px solid var(--bclib-store-color);
    color: #fff !important;
    display: grid;
    font-size: 16px;
    font-weight: 700;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 50px;
    overflow: hidden;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    width: min(100%, 520px);
}

.bclib-book-webstore-button:hover,
.bclib-book-webstore-button:focus {
    color: #fff !important;
    filter: brightness(0.96);
}

.bclib-book-webstore-button__title {
    display: block;
    padding: 10px 18px;
}

.bclib-book-webstore-button__price {
    align-items: center;
    align-self: stretch;
    background: #fff;
    color: var(--bclib-store-color);
    display: inline-flex;
    font-weight: 500;
    justify-content: center;
    min-width: 74px;
    padding: 0 12px 0 24px;
    position: relative;
}

.bclib-book-webstore-button__price::before {
    border-bottom: 25px solid transparent;
    border-right: 25px solid #fff;
    border-top: 25px solid transparent;
    content: "";
    height: 0;
    left: -24px;
    position: absolute;
    top: 0;
    width: 0;
}

.bclib-book-download-actions {
    display: flex;
    justify-content: center;
    margin: 18px auto 0;
    width: 100%;
}

.bclib-book-download-button {
    align-items: center;
    background: #0f172a;
    border: 1px solid #0f172a;
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    min-width: 190px;
    padding: 11px 20px;
    text-decoration: none !important;
}

.bclib-book-download-button:hover,
.bclib-book-download-button:focus {
    filter: brightness(0.92);
}

.bclib-book-download-button--login {
    background: transparent;
    color: inherit !important;
}

.bclib-book-reader-actions {
    display: flex;
    justify-content: center;
    margin: 18px auto 0;
    width: 100%;
}

.bclib-book-reader-button {
    align-items: center;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    min-width: 190px;
    padding: 11px 20px;
    text-decoration: none !important;
}

.bclib-book-reader-button:hover,
.bclib-book-reader-button:focus {
    filter: brightness(0.92);
}

.bclib-book-reader-button--locked {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827 !important;
}

.bclib-online-reader {
    margin: 28px 0;
}

.bclib-online-reader__shell {
    background: var(--bclib-catalogue-surface, #fff);
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    color: inherit;
    padding: 28px;
}

.bclib-online-reader__header {
    align-items: flex-start;
    border-bottom: 1px solid #e5edf7;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.bclib-online-reader__header p {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.bclib-online-reader__header h2,
.bclib-online-reader--locked h2 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0;
}

.bclib-online-reader__header span,
.bclib-online-reader--locked p,
.bclib-online-reader__empty {
    color: #526179;
    font-size: 15px;
    line-height: 1.6;
}

.bclib-online-reader__pages {
    display: grid;
    gap: 20px;
}

.bclib-online-reader__page {
    display: none;
}

.bclib-online-reader__page.is-active {
    display: block;
}

.bclib-online-reader__page-content {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.8;
    min-height: 360px;
    padding: 34px;
}

.bclib-online-reader__page-content img {
    height: auto;
    max-width: 100%;
}

.bclib-online-reader__nav {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.bclib-online-reader__nav button {
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 44px;
    padding: 12px 18px;
}

.bclib-online-reader__nav button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.bclib-online-reader__nav span {
    color: #526179;
    font-weight: 700;
}

.bclib-online-reader__pdf iframe {
    background: #f8fafc;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    min-height: 720px;
    width: 100%;
}

.bclib-online-reader__image-page {
    text-align: center;
}

.bclib-online-reader__image-page img {
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.16);
    height: auto;
    max-width: 100%;
}

.bclib-book-information-container .information-list h4 {
    font-size: 15px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    text-transform: inherit;
    color: #000;
}

.bclib-book-information-container .information-list .information-label h4 {
    font-weight: 700;
}

.bclib-book-information-container .information-list {
    display: flex;
    justify-content: space-between;
}

.bclib-book-information-container .information-list .information-content {
    text-align: left;
    width: 60%;
}

.bclib-book-information-container .information-list .information-content h4 a.rating-link {
    text-decoration: none;
}

.bclib-book-information-container .information-list .information-content .star-rating-inner {
    color: #39b152;
}

.bclib-book-information-container .information-list .information-content .total-ratings {
    margin-left: 6px;
}

.bclib-book-information-container .information-list .information-content h4 a {
    color: #39b152;
    text-decoration: underline;
    font-weight: 700;
}

.bclib-book-information-container .information-list .information-label {
    width: 40%;
}

@media (max-width: 576px) {
    .bclib-book-information-container .information-list {
        display: block;
        justify-content: space-between;
    }

    .bclib-book-information-container .information-list .information-content {
        text-align: left;
        width: 100%;
    }

    .bclib-book-information-container .information-list .information-label {
        width: 100%;
    }
}

.bclib-book-overview-section {
    background: #fff;
    padding: 25px 50px;
    border: 1px solid #f1f1f1;
}

.bclib-book-overview .a-text-italic {
    font-style: italic;
}

.bclib-book-overview ul.a-unordered-list,
.bclib-book-overview ul {
    margin-bottom: 20px !important;
    !i;
    !;
    !i;
    !;
}

.bclib-book-overview span.a-text-bold {
    font-weight: 700;
}

.bclib-book-overview-section .bclib-book-overview {
    color: #444;
}

.bclib-book-overview-section .bclib-book-overview h1,
.bclib-book-overview-section .bclib-book-overview h2,
.bclib-book-overview-section .bclib-book-overview h4,
.bclib-book-overview-section .bclib-book-overview h5,
.bclib-book-overview-section .bclib-book-overview h6,
.bclib-book-overview-section .bclib-book-overview strong {
    color: #000;
    font-weight: 700;
}

.bclib-book-overview-section .bclib-book-overview h1,
.bclib-book-overview-section .bclib-book-overview h2,
.bclib-book-overview-section .bclib-book-overview h4,
.bclib-book-overview-section .bclib-book-overview h5,
.bclib-book-overview-section .bclib-book-overview h6 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.bclib-book-overview-section .bclib-book-overview p {
    margin-top: 0;
    margin-bottom: 30px;
}

.bclib-book-author-bios {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.bclib-author-bio-card {
    align-items: start;
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 20px;
    grid-template-columns: 112px minmax(0, 1fr);
    margin: 0 0 28px;
    padding: 22px;
}

.bclib-author-bio-card--author {
    margin-bottom: 28px;
}

.bclib-author-bio-card__image {
    border-radius: 8px;
    display: block;
    overflow: hidden;
    text-decoration: none !important;
}

.bclib-author-bio-card__image img {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.bclib-author-bio-card__content {
    min-width: 0;
}

.bclib-author-bio-card__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 8px !important;
    text-transform: uppercase;
}

.bclib-author-bio-card h2 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    margin: 0 0 12px !important;
}

.bclib-author-bio-card__text {
    color: inherit;
    font-family: inherit;
    line-height: 1.65;
}

.bclib-author-bio-card__text p {
    margin: 0 0 14px !important;
}

.bclib-author-bio-card__text p:last-child {
    margin-bottom: 0 !important;
}

.bclib-author-bio-card__link {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin-top: 18px;
    min-height: 42px;
    padding: 10px 16px;
    text-decoration: none !important;
}

.bclib-author-profile-page {
    color: inherit;
}

.bclib-author-profile-page .bclib-container {
    display: grid;
    gap: 34px;
}

.bclib-author-profile-hero {
    align-items: stretch;
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    color: inherit;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    min-height: 320px;
    overflow: hidden;
}

.bclib-author-profile-hero__media {
    align-items: center;
    background: color-mix(in srgb, currentColor 7%, transparent);
    color: inherit;
    display: flex;
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 900;
    justify-content: center;
    min-height: 100%;
}

.bclib-author-profile-hero__media img {
    display: block;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    width: 100%;
}

.bclib-author-profile-hero__content {
    align-content: center;
    display: grid;
    gap: 16px;
    padding: clamp(28px, 5vw, 58px);
}

.bclib-author-profile-hero__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 !important;
    text-transform: uppercase;
}

.bclib-author-profile-hero h1 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1;
    margin: 0 !important;
}

.bclib-author-profile-hero__bio {
    color: inherit;
    font-family: inherit;
    font-size: 1.02em;
    line-height: 1.75;
    max-width: 760px;
}

.bclib-author-profile-hero__bio p {
    margin: 0 0 14px !important;
}

.bclib-author-profile-hero__bio p:last-child {
    margin-bottom: 0 !important;
}

.bclib-author-profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.bclib-author-profile-hero__meta span {
    align-items: center;
    border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    min-height: 38px;
    padding: 7px 14px;
}

.bclib-author-profile-hero__meta strong {
    color: inherit;
    font-size: 1.15em;
    line-height: 1;
}

.bclib-author-profile-books {
    display: grid;
    gap: 18px;
}

.bclib-author-profile-books__header h2 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
    margin: 0 !important;
}

.bclib-author-profile-books .bclib-catalogue-grid {
    margin: 0;
}

.bclib-author-profile-books .bclib-catalogue-grid__status {
    margin-top: 0;
}

.bclib-author-directory-header {
    margin: 0 0 24px;
}

.bclib-author-directory-header__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.bclib-author-directory-header h1 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    margin: 0;
}

.bclib-author-directory-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 0 0 34px;
}

.bclib-author-directory-card {
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 20px;
}

.bclib-author-directory-card__media {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: color-mix(in srgb, currentColor 8%, transparent);
    border-radius: 8px;
    color: inherit !important;
    display: flex;
    font-size: 34px;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
    text-decoration: none !important;
}

.bclib-author-directory-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bclib-author-directory-card h2 {
    color: inherit;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.bclib-author-directory-card h2 a {
    color: inherit !important;
    text-decoration: none !important;
}

.bclib-author-directory-card p {
    margin: 0 0 12px;
}

.bclib-author-directory-card__count {
    font-size: 13px;
    font-weight: 800;
}

.bclib-author-directory-card__link {
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit !important;
    display: inline-flex;
    font-weight: 800;
    min-height: 40px;
    padding: 9px 14px;
    text-decoration: none !important;
}

.bclib-author-directory-empty {
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 640px) {
    .bclib-author-profile-hero {
        grid-template-columns: 1fr;
    }

    .bclib-author-profile-hero__media {
        min-height: 260px;
    }

    .bclib-author-profile-hero__media img {
        min-height: 260px;
    }

    .bclib-author-bio-card {
        grid-template-columns: 1fr;
    }

    .bclib-author-bio-card__image {
        max-width: 160px;
    }

    .bclib-author-directory-card {
        grid-template-columns: 1fr;
    }

    .bclib-author-directory-card__media {
        max-width: 128px;
    }
}

.bclib-book-information-container {
    background: #f1f1f1;
    padding: 1.5em;
    margin-top: 6px;
    border: 1px solid #f1f1f1;
}

.bclib-book-information-container .information-list {
    margin-bottom: .6em;
}

.author-image-container {
    height: 212px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

h2.book-container-section-title {
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 700;
    font-size: 22px;
    margin-top: 0;
    text-transform: uppercase;
}

.bclib-book-information-container .information-list .information-content h4 span.sep {
    display: inline-block;
    background: #000;
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

span.bclib-arrow-down {
    width: 10px;
    height: 10px;
    border: 5px solid transparent;
    line-height: normal;
    display: inline-block;
    border-top-color: #000;
    margin-top: 10px;
    margin-top: 10px;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:hover .bclib-arrow-down,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:focus .bclib-arrow-down,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:active .bclib-arrow-down {
    border-top-color: #fff;
}

.bclib-books-showcase-search-form-container {
    padding: 20px 20px 5px 20px;
    background: #ffffff;
    margin-bottom: 30px;
    border: 1px solid #f1f1f1;
}

.bclib-search-form .search-field input,
.search-field select {
    width: 100%;
    height: 40px;
    padding: 0 10px !important;
    text-transform: math-auto;
    border: 1px solid #f1f1f1;
    background: #fff;
}

.bclib-search-form .search-field input::placeholder {
    color: #000
}

.bclib-search-form .select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #444 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0
}

.bclib-search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.bclib-search-form .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 20px;
}

.bclib-search-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    height: 100%;
    right: 5px;
}

.bclib-search-form .select2-container .select2-selection--single .select2-selection__placeholder {
    font-size: 14px;
}

.bclib-search-form .select2-container .select2-selection--single {
    height: 40px;
}

.bclib-search-form .search-field .selectize-dropdown,
.bclib-search-form .search-field .selectize-input {
    border: 1px solid #f1f1f1;
}

.bclib-search-form .search-field input:focus,
.search-field select:focus {
    border: 1px solid #ddd;
    outline: none;
}

.bclib-search-form .search-field input[type=submit] {
    border-radius: 0;
}

/*.bclib-search-form.bclib-row.bclib-free-search-form-row > div {
    max-width: 20% !important;!i;!;
    flex: 0 0 20%;
}*/
.bclib-search-form .search-field input[type=submit],
.bclib-search-form .search-field input[type=submit]:hover {
    background: #39b152;
    color: #fff;
    border-color: #39b152;
}

.bclib-search-form .search-field {
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .bclib-search-form.bclib-row>div {
        padding: 5px;
        padding-left: 5px;
    }
}

.bclib-books-sorting-field {
    display: block;
    text-align: right;
    float: right;
}

.bclib-book-container.bclib-row.book-list-layout.thumbnail-position-left,
.bclib-book-container.bclib-row.book-list-layout.thumbnail-position-right {
    margin-bottom: 0;
}

.bclib-books-sorting-field select#bclib-sort {
    background-image: none;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    width: 200px;
    height: 50px;
    padding: 10px;
    border: 1px solid #f1f1f1;
    background: #f1f1f1;
    color: #000;
}

.bclib-sorting-sections-wrapper {
    padding: 20px;
    border: 1px solid #f1f1f1;
    margin-bottom: 30px;
    background: #fff;
}

@media (max-width: 767px) {
    .bclib-sorting-sections-wrapper {
        padding: 10px;
    }

    .bclib-books-sorting-field select#bclib-sort {
        width: 140px;
        height: 40px;
        padding: 10px;
        font-size: 14px;
    }

    div#result-count {
        font-size: 14px;
    }
}

.bclib-books-pagination {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 2em;
}

.bclib-books-pagination .bclib-pagination,
.bclib-books-pagination .bclib-pagination .pagination {
    margin: 0;
}

.bclib-books-pagination a {
    text-decoration: none !important;
}

.bclib-books-pagination a,
.bclib-books-pagination span {
    color: #000;
    background: #f4f4ec;
    border-radius: 50px;
    margin: 5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    font-weight: 700;
}

.bclib-books-pagination span.current {
    background: #ffffff;
    box-shadow: 0 0 6px -2px rgb(0 0 0 / 50%);
    color: #000;
}

.bclib-select-field .selectize-input>div.item {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0px 10px;
    line-height: 40px;
    text-transform: math-auto;
}

.selectize-dropdown .option {
    text-transform: math-auto;
}

/********* Featured Book Widget ***********/
.bclib-featured-book-area-inner .book-name h2 {
    font-size: 1.3rem;
    margin: 0;
    margin-bottom: 10px;
    text-align: center;
}

.bclib-featured-book-area-inner {
    text-align: center;
}

.bclib-featured-book-area-inner .book-name h2 a {
    color: #000;
    display: inline-block;
}

.bclib-featured-book-area-inner .book-author h4 {
    font-size: 16px;
    margin: 0;
    color: #000;
    font-weight: 400;
    text-align: center;
}

.bclib-featured-book-purchase-button a.bclib-book-buy-now-button {
    background: #fb4747;
    display: inline-block;
    padding: 10px 39px;
    border: 1px solid #fb4747;
    color: #fff;
    transition: .4s;
}

.bclib-featured-book-purchase-button a.bclib-book-buy-now-button:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.bclib-featured-book-purchase-button {
    margin-top: 20px;
}

.bclib-featured-book-area-inner {
    text-align: center;
}

.bclib-featured-book-area-inner a {
    text-decoration: none;
}

.bclib-featured-book-area-inner .order-button {
    margin-top: 1em;
}

.bclib-featured-book-area-inner .book-image {
    margin-bottom: 1em;
}

.bclib-purchase-ext-website-list-container {
    position: relative;
}

.bclib-featured-book-area-inner .order-button a:hover {
    background: #000000;
}

.bclib-purchase-ext-website-list-container a.bclib-buy-now-button {
    width: 200px;
    height: 50px;
    background: #fb4747;
    display: flex;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #fb4747;
    line-height: 40px;
    margin-top: 1em;
    align-items: center;
    justify-content: space-around;
    text-transform: uppercase;
    color: #fff;
}

.bclib-purchase-ext-website-list-container ul.ext-website-list-container {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    width: 200px;
    box-shadow: none;
    position: absolute;
    left: 50%;
    top: calc(100% + 16px);
    visibility: hidden;
    opacity: 0;
    transition: .4s;
    margin-left: -100px;
    border: 1px solid #fb4747;
    text-align: center;
}

.bclib-purchase-ext-website-list-container ul.ext-website-list-container.open {
    opacity: 1;
    visibility: visible;
}

.bclib-purchase-ext-website-list-container ul.ext-website-list-container:before {
    width: 20px;
    height: 20px;
    border: 10px solid transparent;
    border-bottom-color: #fb4747;
    position: absolute;
    content: "";
    left: calc(50% - 10px);
    top: -20px;
}

.bclib-purchase-ext-website-list-container li {
    padding: 10px !important;
    display: block !important;
    border-bottom: 1px solid #fb4747;
    line-height: normal;
    display: block;
    margin: 0 !important;
}

.bclib-purchase-ext-website-list-container li:last-child {
    border-bottom: 0;
}

.bclib-purchase-ext-website-list-container li a {
    display: block;
}

/*Testimonial*/
/*Books list Widget*/
.bclib-book-list-widget-area-inner .book-name h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    text-align: center;
}

.bclib-book-list-widget-area-inner .book-image img {
    display: block;
    margin: 0 auto;
}

.bclib-book-list-widget-area-inner .book-price {
    font-size: 1.1rem;
    display: flex;
    color: #fb4747;
    justify-content: center;
}

.bclib-book-list-widget-area-inner .book-price .regular-price.previous-price {
    text-decoration: line-through;
    font-weight: 100;
    margin-right: 10px;
}

.bclib-book-list-widget-area-inner .book-price .sale-price strong {
    font-weight: 900;
}

.bclib-book-list-widget-area-inner .book-author h4 {
    font-size: 16px;
    margin-top: 0;
    font-weight: 400;
    text-align: center;
}

.bclib-book-loop-content-wrapper .book-desc {
    margin: 0 0 20px 0;
    color: #444;
    text-align: center;
    justify-content: center;
}

.bclib-book-loop-content-wrapper .book-desc p:last-child {
    margin-bottom: 0;
    margin-top: 0;
}

.bclib-book-loop-content-wrapper .book-buy-btn {
    justify-content: center;
}

.bclib-book-loop-content-wrapper .bclib-book-buttons-wrapper>div {
    margin-left: 5px;
    margin-right: 5px;
}

.bclib-book-loop-content-wrapper .bclib-book-buttons-wrapper>div a {
    display: block;
    margin-bottom: 10px;
}

.bclib-book-loop-content-wrapper .bclib-book-buttons-wrapper {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    margin-left: -5px;
    margin-right: -5px;
}

.bclib-book-loop-content-wrapper .book-buy-btn a {
    color: #fff;
}

.bclib-book-buttons-wrapper .bclib-loop-read-more-button {
    text-align: center;
    align-self: center;
}

.bclib-book-buttons-wrapper .bclib-loop-read-more-button a {
    color: #000;
    text-decoration: none;
    border: 1px solid #f1f1f1;
    padding: 10px 30px;
    transition: .4s;
}

.bclib-book-buttons-wrapper .bclib-loop-read-more-button a:hover {
    background: #000;
    color: #fff;
}

.bclib-book-loop-content-wrapper.bclib-col-md-6>div.book-multiple-sales-links {
    width: 100%;
    max-width: 100%;
    flex-flow: column;
}

.bclib-book-list-widget-area-inner {
    margin-bottom: 30px;
    text-align: center;
    background: #f1f1f1;
    padding: 20px;
}

.bclib-book-list-widget-area-inner:last-child {
    margin-bottom: 0;
}

.bclib-book-list-widget-area-inner .book-image {
    position: relative;
    backdrop-filter: none;
    filter: none;
}

.bclib-book-list-widget-area-inner .book-image:after {
    display: none;
}

.bclib-book-list-widget-area-inner .book-image .book-view-button a {
    position: absolute;
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 15px 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    font-weight: 400;
    transition: .4s;
    visibility: hidden;
    opacity: 0;
    line-height: normal;
    width: max-content;
}

.bclib-book-list-widget-area-inner .book-image .book-view-button a:hover {
    background: #f9464a;
    color: #fff;
}

.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-view-button a,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-name a,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-author a,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-price .regular-price,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-price .sale-price {
    color: #000;
}

.bclib-book-list-widget-area-inner:hover .book-image .book-view-button a {
    visibility: visible;
    opacity: 1;
}

body.theme-book-author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-name h2 a {
    color: #000 !important;
}

body.theme-book-author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-author a {
    color: #000;
}

body.theme-book-author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-price strong {
    color: #000;
}

body.theme-book-author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-image .book-view-button a {
    color: #000;
}

body.theme-book-author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-image .book-view-button a:hover {
    color: #fff;
}

.bclib-search-form .search-field button.reset-search-form {
    background: #fb4747;
    border-color: #fb4747;
    height: 40px;
    border-radius: 0;
    padding: 0;
    width: 100%;
    color: #fff;
}

.bclib-search-form .search-field button.reset-search-form:hover,
.bclib-search-form .search-field button.reset-search-form:visited,
.bclib-search-form .search-field button.reset-search-form:active {
    background: #000;
    color: #fff;
}

/*Book Archive Page Pagination*/
.bclib-pagination {
    margin: 50px 0;
}

.bclib-pagination nav.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
}

.bclib-pagination .navigation.pagination .nav-links li a,
.bclib-pagination .navigation.pagination .nav-links li span,
.bclib-pagination .navigation.pagination .nav-links a,
.bclib-pagination .navigation.pagination .nav-links span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 5px;
    border: 1px solid #f1f1f1;
    font-weight: 700;
    color: #000;
    background: #fff;
    transition: .4s;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 10%);
}

.bclib-pagination nav.navigation.pagination .nav-links a.next.page-numbers,
.bclib-pagination nav.navigation.pagination .nav-links a.prev.page-numbers {
    width: auto;
    padding: 0 20px;
}

.bclib-pagination nav.navigation.pagination .nav-links .page-numbers.current,
.bclib-pagination nav.navigation.pagination .nav-links .page-numbers:hover {
    background: #3dae58;
    color: #fff;
    border-color: #3dae58;
}

/* Book Carousel */
.bclib-book-slider {
	--bclib-slider-surface: var(--bclib-catalogue-surface, Canvas);
	--bclib-slider-border: color-mix(in srgb, currentColor 14%, transparent);
	--bclib-slider-muted: color-mix(in srgb, currentColor 66%, transparent);
	--bclib-slider-shadow: 0 18px 38px color-mix(in srgb, currentColor 9%, transparent);
	color: inherit;
	font-family: inherit;
	margin: 0 auto 34px;
	overflow: visible;
}

.bclib-book-slider *,
.bclib-book-slider *::before,
.bclib-book-slider *::after {
	box-sizing: border-box;
	font-family: inherit;
}

.bclib-book-slider > .bclib-container {
	max-width: var(--bclib-grid-max-width, 1180px);
	overflow: visible;
	width: min(100%, var(--bclib-grid-max-width, 1180px));
}

.bclib-book-slider__slider-wrapper-row {
	align-items: stretch;
}

.bclib-book-slider__slider-wrapper-row .slick-track {
	align-items: stretch;
	display: flex !important;
}

.bclib-book-slider__slider-wrapper-row .slick-slide {
	float: none;
	height: auto;
}

.bclib-book-slider__slider-wrapper-row .slick-slide > div,
.bclib-book-slider__slider-item {
	height: 100%;
}

.bclib-book-slider .bclib-book-container {
	background: var(--bclib-slider-surface);
	border: 1px solid var(--bclib-slider-border);
	border-radius: 8px;
	box-shadow: none;
	color: inherit;
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	margin: 0;
	min-height: 420px;
	overflow: hidden;
	padding: 0;
}

.bclib-book-slider .bclib-book-loop-image {
	background: color-mix(in srgb, currentColor 5%, transparent);
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

.bclib-book-slider .bclib-book-loop-image a {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 190px;
	text-decoration: none;
	width: 100%;
}

.bclib-book-slider .bclib-book-loop-image img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	max-height: 240px;
	object-fit: cover;
	width: 100%;
}

.bclib-book-slider .bclib-book-loop-content-wrapper {
	align-content: start;
	display: grid;
	gap: 12px;
	padding: 24px;
	text-align: inherit;
}

.bclib-book-slider .book-title {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 800;
	line-height: 1.18;
	margin: 0;
}

.bclib-book-slider .book-title a {
	color: inherit;
	text-decoration: none;
}

.bclib-book-slider .book-author {
	color: var(--bclib-slider-muted);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
}

.bclib-book-slider .book-author a {
	color: inherit;
	text-decoration: none;
}

.bclib-book-slider .book-price {
	align-items: center;
	color: inherit;
	display: flex;
	font-size: 24px;
	font-weight: 800;
	justify-content: inherit;
	line-height: 1;
	margin: 0;
}

.bclib-book-slider .book-desc,
.bclib-book-slider .book-full-content-as-excerpt {
	color: var(--bclib-slider-muted);
	display: -webkit-box;
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bclib-book-slider .bclib-book-buttons-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: inherit;
	margin-top: auto;
}

.bclib-book-slider .book-buy-btn,
.bclib-book-slider .bclib-loop-read-more-button,
.bclib-book-slider .book-add-to-cart-btn {
	display: flex;
	justify-content: inherit;
	margin: 0 !important;
}

.bclib-book-slider .book-buy-btn a,
.bclib-book-slider .bclib-loop-read-more-button a,
.bclib-book-slider .book-add-to-cart-btn button,
.bclib-book-slider .loop_add_to_cart_button {
	align-items: center;
	background: transparent !important;
	border: 1px solid currentColor !important;
	border-radius: 6px !important;
	color: inherit !important;
	display: inline-flex !important;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.1;
	min-height: 44px;
	min-width: 150px;
	padding: 11px 18px !important;
	text-decoration: none;
	text-transform: none;
}

.bclib-book-slider .book-multiple-sales-links {
	margin-top: 6px;
}

.bclib-book-slider.no-book-image .bclib-book-container {
	grid-template-rows: 1fr;
}

.bclib-book-slider.slider-content-left {
	text-align: left;
}

.bclib-book-slider.slider-content-center {
	text-align: center;
}

.bclib-book-slider.slider-content-right {
	text-align: right;
}

.slider-large-screen-item-2 .bclib-book-slider__slider-item,
.slider-large-screen-item-3 .bclib-book-slider__slider-item,
.slider-large-screen-item-4 .bclib-book-slider__slider-item,
.slider-large-screen-item-5 .bclib-book-slider__slider-item {
    margin: 0 15px;
}

.slider-large-screen-item-2 .slick-list,
.slider-large-screen-item-3 .slick-list,
.slider-large-screen-item-4 .slick-list,
.slider-large-screen-item-5 .slick-list {
    margin-left: -15px;
    margin-right: -15px;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
    position: absolute;
    width: 54px;
    height: 54px;
    padding: 0;
    background: var(--bclib-slider-surface);
    border: 1px solid var(--bclib-slider-border);
    border-radius: 999px;
    box-shadow: var(--bclib-slider-shadow);
    color: inherit;
    top: 50%;
    margin-top: -27px;
    line-height: 54px;
    cursor: pointer;
    text-align: center;
    z-index: 5;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-next {
    right: -64px;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-prev {
    left: -64px;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
    opacity: 1;
    visibility: visible;
    transition: .4s;
}

.bclib-book-slider:hover .bclib-book-slider__slider-wrapper-row .slick-arrow {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1200px) {
    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-next {
        right: -20px;
    }

    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-prev {
        left: -20px;
    }
}

.bclib-book-loop-image.thumbnail-position-top a {
    display: flex;
    justify-content: center;
}

.bclib-book-loop-image.thumbnail-position-top img {
    height: 100%;
}

.thumbnail-position-right .bclib-book-loop-image>a {
    display: flex;
    justify-content: flex-end;
}

.thumbnail-position-right .bclib-book-loop-image>a {
    display: flex;
    justify-content: flex-start;
}

.bclib-book-slider .book-list-layout {
	display: grid !important;
	grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
}

.bclib-book-slider .book-list-layout.flex-row-reverse,
.bclib-book-slider .book-list-layout.thumbnail-position-right {
	grid-template-columns: minmax(0, 0.58fr) minmax(160px, 0.42fr);
}

.bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image {
	grid-column: 2;
	grid-row: 1;
}

.bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-content-wrapper {
	grid-column: 1;
	grid-row: 1;
}

.bclib-book-slider .book-list-layout .bclib-book-loop-image,
.bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper {
	max-width: none;
	padding: 0;
	width: 100%;
}

.bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper {
	padding: 24px;
}

@media (max-width:991px) {
    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-next {
        right: -40px;
    }

    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-prev {
        left: -40px;
    }
}

@media (max-width:767px) {
    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-next {
        right: 0;
    }

    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-prev {
        left: 0px;
    }

    .bclib-book-slider > .bclib-container {
        width: 100%;
    }

    .bclib-book-slider .bclib-book-container {
        min-height: 0;
    }

    .bclib-book-slider .book-list-layout,
    .bclib-book-slider .book-list-layout.flex-row-reverse,
    .bclib-book-slider .book-list-layout.thumbnail-position-right {
        grid-template-columns: 1fr;
    }

    .bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image,
    .bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-content-wrapper {
        grid-column: 1;
        grid-row: auto;
    }

    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
        height: 42px;
        line-height: 42px;
        margin-top: -21px;
        width: 42px;
    }
}

/*Featured Slider Manual Design*/
.bclib-book-slider.featured-slider {
    padding: 80px 0;
    background: #f1f1f1;
}

.eafe-book-slider-section-wrapper .featured-slider {
    background: transparent;
    padding: 0;
}

.eafe-book-slider-section-wrapper .bclib-book-slider.carousel-slider>.container {
    padding: 0;
}

.bclib-book-slider.featured-slider .book-list-layout .book-content-column {
    background: transparent;
    padding: 0;
}

.bclib-book-slider.featured-slider .bclib-book-container {
    border: none;
    margin-bottom: 0;
    padding: 2px;
}

.slick-slide>div.bclib-book-container {
    display: block;
    width: 100%;
}

.slick-slide>div.bclib-book-container.book-list-layout.thumbnail-position-right,
.slick-slide>div.bclib-book-container.book-list-layout.thumbnail-position-left {
    display: flex !important;
}

.bclib-book-slider.featured-slider .book-list-layout .book-title {
    font-size: 46px;
    line-height: 60px;
    margin-bottom: 20px;
}

.bclib-book-slider.featured-slider .book-list-layout .book-author {
    font-size: 24px;
    margin-bottom: 20px;
}

.bclib-book-slider.featured-slider .book-list-layout .book-price {
    font-size: 32px;
    margin-bottom: 20px;
}

.bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price.previous-price {
    font-size: 18px;
    align-self: center;
    margin-right: 10px;
}

.bclib-book-slider.featured-slider .book-list-layout .book-price .regular-price {
    align-self: center;
}

.bclib-book-slider.featured-slider .book-list-layout .book-desc {
    font-size: 22px;
    margin: 20px 0 25px 0;
}

.bclib-book-slider.featured-slider .book-list-layout .book-buy-btn a {
    text-transform: capitalize;
    font-weight: 400;
    font-size: 18px;
}

.bclib-book-slider.featured-slider .msl-title-wrapper {
    margin-bottom: 5px;
    margin-top: 30px;
}

.bclib-book-slider.featured-slider .book-also-available-website-list a {
    color: #000;
    border: 1px solid #ddd;
}

.bclib-book-slider.featured-slider .book-also-available-website-list a:hover {
    color: #f1f1f1;
}

.bclib-book-slider.featured-slider .msl-title-wrapper>div {
    border-color: transparent !important;
}

@media (max-width: 991px) {
    .bclib-book-slider.featured-slider .book-list-layout .book-title {
        font-size: 36px;
        line-height: 46px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-price {
        font-size: 26px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-desc,
    .bclib-book-slider.featured-slider .book-list-layout .book-buy-btn a,
    .bclib-book-slider.featured-slider .book-list-layout .book-author,
    .bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price.previous-price {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .bclib-book-slider.featured-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image {
        padding-left: 0 !important;
        margin-bottom: 20px;
    }

    .bclib-book-slider.featured-slider .book-list-layout.thumbnail-position-left .bclib-book-loop-image {
        padding-right: 0 !important;
        margin-bottom: 20px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-title {
        font-size: 28px;
        line-height: 38px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-price {
        font-size: 20px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-desc,
    .bclib-book-slider.featured-slider .book-list-layout .book-buy-btn a,
    .bclib-book-slider.featured-slider .book-list-layout .book-author,
    .bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price.previous-price {
        font-size: 16px;
    }
}

/*Third Party Themes Support [Generate Press]*/
body.right-sidebar .carousel-slider .book-list-layout.thumbnail-position-left .bclib-book-loop-image,
body.left-sidebar .carousel-slider .book-list-layout.thumbnail-position-left .bclib-book-loop-image {
    padding-right: 0 !important;
}

body.right-sidebar .carousel-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image,
body.left-sidebar .carousel-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image {
    padding-left: 0 !important;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title {
    font-size: 18px;
    margin-bottom: 6px;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper {
    padding: 10px 10px 10px 20px;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-buy-btn a,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-buy-btn a {
    border: none;
    margin-bottom: 0;
    padding: 7px 15px;
    font-weight: 400;
    text-transform: capitalize;
}

.bclib-book-buttons-wrapper .book-add-to-cart-btn {
    margin-bottom: 5px !important;
}

.bclib-book-buttons-wrapper>div {
    margin-right: 0 !important;
}

.bclib-book-buttons-wrapper>div:first-child {
    margin-left: 0 !important;
}

.bclib-book-buttons-wrapper .book-add-to-cart-btn button {
    border-radius: 0;
    padding: 9px 25px;
    line-height: inherit;
    display: block;
    width: auto;
    height: auto !important;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-author,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-author {
    margin-bottom: 6px;
    font-size: 14px;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price {
    font-size: 16px;
}

body.book-catalogue-library-single-page.boxed .bclib-book-single-wrapper {
    background: #ffff;
    margin: 0;
    padding-top: 30px;
}

.ak-main-wrap {
    background: #fff;
}

body.single-book .ak-main-wrap {
    background: #ffffff;
}

/* Book Author List Shortcode Style */
.bclib-single-author-wrapper .author-name h2 {
    font-size: 20px;
    margin: 0;
}

.bclib-single-author-wrapper .author-name h2 a {
    color: #000;
}

.bclib-single-author-wrapper .author-book-count h5 {
    margin: 0;
    font-size: 14px;
}

.bclib-single-author-wrapper .author-book-count h5 a {
    color: #777;
}

.bclib-single-author-wrapper .author-description p {
    margin: 0;
    font-size: 15px;
    color: #777;
}

.bclib-single-author-wrapper {
    border: 1px solid #f1f1f1;
    padding: 20px;
    margin-bottom: 30px;
}

.bclib-single-author-wrapper .view-author-profile-button {
    margin-top: 10px;
}

.bclib-single-author-wrapper .view-author-profile-button a {
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: .4s;
}

.bclib-single-author-wrapper .view-author-profile-button a:before {
    position: absolute;
    width: 100%;
    bottom: 0;
    content: "";
    background: transparent;
    left: 0;
    height: 2px;
    transition: .4s;
}

.bclib-single-author-wrapper .view-author-profile-button a:hover:before {
    background: #000;
}

.bclib-single-author-wrapper .author-name {
    margin-bottom: 10px;
}

.bclib-single-author-wrapper .author-book-count {
    margin-bottom: 10px;
}

.bclib-single-author-wrapper .author-profile-picture-container img {
    display: block;
}

.bclib-single-author-wrapper .author-profile-picture-container {
    margin-bottom: 15px;
}

.bclib-single-author-wrapper .author-description {
    margin-bottom: 15px;
}

.author-social-links-wrapper .bclib-book-author-social-profiles {
    flex-flow: column;
}

.bclib-single-author-wrapper>.bclib-book-author-social-profiles {
    margin-bottom: 10px;
}

.bclib-author-profile-picture-wrapper {
    position: relative;
}

.author-social-links-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    visibility: hidden;
    opacity: 0;
    transition: .4s;
}

.bclib-single-author-wrapper:hover .author-social-links-wrapper {
    left: 10px;
    bottom: 10px;
    visibility: visible;
    opacity: 1;
}

.author-social-links-wrapper .social-link {
    margin-top: 5px;
}

.bclib-single-author-wrapper .bclib-book-author-social-profiles .social-link {
    margin-bottom: 5px;
}

.bclib-single-author-wrapper .bclib-book-author-social-profiles .social-link a {
    width: 30px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    text-decoration: none;
}

.author-social-links-wrapper .social-link:first-child {
    margin-top: 0;
}

.bclib-books-filtering-menu-area {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-flow: wrap;
}

.bclib-books-filtering-menu-area a.catItem {
    display: block;
    padding: 10px 20px;
    line-height: normal;
    border: 1px solid #f1f1f1;
    color: #343434;
    margin: 5px;
    text-decoration: none;
    transition: .4s;
    background: #f1f1f1;
}

.bclib-books-filtering-menu-area a.catItem:active,
.bclib-books-filtering-menu-area a.catItem:focus,
.bclib-books-filtering-menu-area a.catItem:hover {
    color: #343434;
    background: #f4f4ec;
}

.bclib-books-filtering-menu-area a:first-child {
    margin-left: 0;
}

.bclib-books-filtering-menu-area a:last-child {
    margin-right: 0;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-title,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-title {
    font-size: 26px;
    line-height: 36px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-author,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-author {
    font-size: 18px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-author a,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-author a {
    font-weight: 400;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-price,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-price {
    font-size: 26px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-desc,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-desc {
    font-size: 16px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-multiple-sales-links h2,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-multiple-sales-links h2 {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 36px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout {
    padding: 15px;
}

body.right-sidebar .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .msl-title-wrapper,
body.left-sidebar .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .msl-title-wrapper {
    margin-bottom: 0;
}

body.single-post .bclib-book-loop-content-wrapper.book-content-column .single-website a {
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
}

body.single-post .post-details-page .book-also-available-website-list a:hover {
    color: #fff;
    text-decoration: none;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-title {
    font-size: 22px;
    line-height: 32px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-author {
    font-size: 18px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-author a {
    font-weight: 400;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-price {
    font-size: 24px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-desc {
    font-size: 16px;
    line-height: 26px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout {
    padding: 15px;
}

body.both-sidebar .bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image {
    padding-right: 10px !important;
}

.cart-popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 10000;
    font-size: 16px;
}

.single_add_to_cart_button.disabled,
.loop_add_to_cart_button.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    border-color: #cccccc;
}

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

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

button.loop_add_to_cart_button.button.alt {
    position: relative;
}

button.loop_add_to_cart_button.button.alt.disabled {
    border-color: #00000094;
}

button.loop_add_to_cart_button.button.alt.disabled:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: #00000094;
    left: 0;
    top: 0;
}

button.loop_add_to_cart_button.button.alt.disabled:after {
    position: absolute;
    height: 20px;
    width: 20px;
    content: '';
    border: 3px dashed #fff;
    border-radius: 50%;
    -webkit-animation: spin 800ms linear infinite;
    animation: spin 800ms linear infinite;
}

/* Book Single Page Cart Button */

.book-single-page-buttons-wrapper {
    display: flex;
    flex-flow: wrap;
}

.book-single-page-buttons-wrapper a.reset_variations {
    display: inline-block;
    margin-right: 10px;
    margin-left: 5px;
}

.bclib-book-cart-form button.single_add_to_cart_button {
    padding: 10px 20px;
    background-color: #ddd;
}

.bclib-book-cart-form .quantity input {
    border: 1px solid #f1f1f1;
    width: 60px;
    padding: 10px;
}

.bclib-book-cart-form .variations_button {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bclib-book-cart-form table.variations {
    border-collapse: separate;
    border-spacing: 0 5px;
    margin-top: -5px;
}

.bclib-book-cart-form table.variations td {
    padding: 5px;
    border: 1px solid #f1f1f1;
}

.bclib-book-loop-btn a {
    background: #ddd;
    padding: 10px 15px;
    color: #000;
}

.bclib-book-loop-btn a.added_to_cart.wc-forward {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.bclib-book-loop-btn {
    position: relative;
}

.bclib-book-cart-form table.variations tr th {
    text-transform: capitalize;
    padding-right: 10px;
}

.bclib-book-cart-form table.variations {
    margin-right: 10px;
}

body.single-book div.product .bclib-container form.cart {
    margin-bottom: 0;
}

body.single-book div.product .bclib-container form.cart input::-webkit-outer-spin-button,
body.single-book div.product .bclib-container form.cart input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bclib-book-loop-btn a {
    background: #ddd;
    padding: 10px 15px;
    color: #000;
}

body.single-book div.product .bclib-container form.cart input[type=number] {
    -moz-appearance: textfield;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper {
    width: 115px;
    border: 1px solid #f1f1f1;
    text-align: center;
    padding: 10px 6px;
    display: flex;
    align-items: center;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper span.quantity-text {
    margin-right: 10px;
    color: rgb(0 0 0 / 60%);
    font-size: 11px;
}

body.single-book div.product .bclib-container form.cart .single_add_to_cart_button {
    height: auto;
}

body.single-book div.product .bclib-container div.quantity {
    float: none;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper input[type="number"] {
    width: 32px !important;
    padding: 0 !important;
    border: none;
    font-weight: 400;
    color: #000;
    height: auto;
    min-width: 32px !important;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper span.fa-solid {
    cursor: pointer;
    width: 10px;
    height: 100%;
    display: inline-block;
    font-weight: 700;
    color: rgba(0, 0, 0, .6);
}

/* Typography for Book Short Description */
.bclib-book-short-description h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.bclib-book-short-description h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.bclib-book-short-description h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: #444;
}

.bclib-book-short-description h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #444;
}

.bclib-book-short-description h5 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
}

.bclib-book-short-description h6 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
}

.bclib-book-short-description h1,
.bclib-book-short-description h2,
.bclib-book-short-description h3,
.bclib-book-short-description h4,
.bclib-book-short-description h5,
.bclib-book-short-description h6,
.bclib-book-short-description p {
    margin-top: 15px;
    margin-bottom: 10px;
}

.bclib-book-short-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-weight: 400;
}

.bclib-book-short-description a {
    color: #0073aa;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bclib-book-short-description a:hover {
    color: #005177;
    text-decoration: none;
}

.bclib-book-short-description strong {
    font-weight: 700;
    color: #333;
}

.bclib-book-short-description em {
    font-style: italic;
    color: #555;
}

.bclib-book-short-description ul,
.bclib-book-short-description ol {
    margin-left: 0;
    padding-left: 19px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.bclib-book-short-description ul {
    list-style-type: disc;
}

.bclib-book-short-description ol {
    list-style-type: decimal;
}

.bclib-book-short-description ul ul,
.bclib-book-short-description ol ol,
.bclib-book-short-description ul ol,
.bclib-book-short-description ol ul {
    margin-top: 0;
    margin-bottom: 0;
}

.bclib-book-short-description blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.bclib-book-short-description blockquote p {
    margin: 0;
}

.bclib-book-short-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.bclib-book-short-description table th,
.bclib-book-short-description table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.bclib-book-short-description table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.bclib-book-short-description table tr:nth-child(even) {
    background: #fafafa;
}

.bclib-book-short-description table tr:hover {
    background: #f0f0f0;
}

.bclib-book-short-description pre {
    background: #f5f5f5;
    padding: 15px;
    margin: 15px 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    white-space: pre-wrap;
    border-radius: 3px;
    overflow-x: auto;
}

.bclib-book-short-description code {
    background: #f5f5f5;
    padding: 2px 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    color: #d63333;
    border-radius: 3px;
}

.bclib-book-short-description hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.bclib-modal-content .bclib-book-single-header-content-container.others-pages h2.book-name {
    font-size: 24px;
    line-height: 1.4;
}

span.a-text-bold {
    font-weight: 700;
}

.admin-message-for-search-form {
    background: #ddd;
    margin-bottom: 10px;
    padding: 2px 10px;
    display: inline-block;
    font-size: 11px;
}


.bclib-author-search {
    margin-bottom: 20px;
}

.bclib-author-search-form {
    display: flex;
    gap: 10px;
}

.author-search-input {
    padding: 8px;
    width: 200px;
}

.bclib-load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.bclib-load-more-btn {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.bclib-load-more-btn:hover {
    background: #0056b3;
}

form.bclib-author-search-form input {
    width: 100%;
}

form.bclib-author-search-form button {
    background: #f1f1f1;
    border: 1px solid #f1f1f1;
    color: #000;
}

.bclib-search-message {
    text-align: center;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.featured-book-cover-wrapper img {
    max-width: 100%;
    height: auto;
}

.bclib-modern-search {
    --bclib-modern-accent: #2563eb;
    --bclib-modern-ink: #081a44;
    --bclib-modern-muted: #667394;
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    color: var(--bclib-modern-ink);
    margin: 0 auto 30px;
    max-width: 1180px;
    padding: 18px 18px 3px;
}

.bclib-modern-search .admin-message-for-search-form {
    background: #f4f7fb;
    border: 1px solid #e5ebf5;
    border-radius: 6px;
    color: var(--bclib-modern-muted);
    font-size: 13px;
    margin: 0 0 14px;
    padding: 10px 12px;
}

.bclib-modern-search .admin-message-for-search-form a {
    color: var(--bclib-modern-accent);
    font-weight: 700;
}

.bclib-modern-search .bclib-search-form .search-field {
    margin-bottom: 15px;
}

.bclib-modern-search .bclib-search-form .search-field input,
.bclib-modern-search .bclib-search-form .search-field select,
.bclib-modern-search .bclib-search-form .select2-container .select2-selection--single {
    background: #f9fbff;
    border: 1px solid #d9e1ef;
    border-radius: 6px;
    color: var(--bclib-modern-ink);
    font-size: 14px;
    height: 42px;
    min-height: 42px;
}

.bclib-modern-search .bclib-search-form .search-field input {
    padding: 0 12px !important;
}

.bclib-modern-search .bclib-search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--bclib-modern-ink);
    line-height: 42px;
}

.bclib-modern-search .bclib-search-form .search-field input[type=submit],
.bclib-modern-search .bclib-search-form .search-field input[type=submit]:hover,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form:hover {
    background: var(--bclib-modern-accent);
    border: 1px solid var(--bclib-modern-accent);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    height: 42px;
    min-height: 42px;
}

.bclib-modern-search .bclib-search-form .search-field button.reset-search-form {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

.bclib-featured-slider {
    --bclib-featured-accent: #2563eb;
    --bclib-featured-ink: #081a44;
    --bclib-featured-muted: #667394;
    background: #f4f7fb;
    color: var(--bclib-featured-ink);
    margin: 0 auto 34px;
    overflow: hidden;
    padding: 38px 0;
}

.bclib-featured-slider .awt-full-width-books-slider-wrapper {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 16px;
    padding-right: 16px;
}

.bclib-featured-slider .featured-book-item {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    margin: 0;
    overflow: hidden;
    padding: 28px;
}

.bclib-featured-slider .book-title,
.bclib-featured-slider .book-title a {
    color: var(--bclib-featured-ink);
    font-size: 36px;
    line-height: 1.12;
    margin: 0 0 12px;
    text-decoration: none;
}

.bclib-featured-slider .book-author,
.bclib-featured-slider .book-author a {
    color: var(--bclib-featured-accent);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 16px;
    text-decoration: none;
}

.bclib-featured-slider .book-desc {
    color: var(--bclib-featured-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 22px;
}

.bclib-featured-slider .book-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bclib-featured-slider .book-buy-btn a,
.bclib-featured-slider .book-details-btn a {
    background: var(--bclib-featured-accent);
    border: 1px solid var(--bclib-featured-accent);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    line-height: 1;
    padding: 13px 16px;
    text-decoration: none;
}

.bclib-featured-slider .book-details-btn a {
    background: #fff;
    color: var(--bclib-featured-accent);
}

.bclib-featured-slider .featured-book-cover-wrapper {
    text-align: center;
}

.bclib-featured-slider .featured-book-cover-wrapper img {
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(8, 26, 68, 0.16);
    max-height: 420px;
    object-fit: cover;
}

.bclib-modern-search,
.bclib-featured-slider {
    --bclib-modern-accent: currentColor;
    --bclib-modern-ink: inherit;
    --bclib-modern-muted: currentColor;
    --bclib-featured-accent: currentColor;
    --bclib-featured-ink: inherit;
    --bclib-featured-muted: currentColor;
    color: inherit;
    font-family: inherit;
}

.bclib-modern-search *,
.bclib-featured-slider * {
    font-family: inherit;
}

.bclib-modern-search,
.bclib-modern-search .admin-message-for-search-form,
.bclib-modern-search .bclib-search-form .search-field input,
.bclib-modern-search .bclib-search-form .search-field select,
.bclib-modern-search .bclib-search-form .select2-container .select2-selection--single,
.bclib-featured-slider,
.bclib-featured-slider .featured-book-item {
    background: var(--bclib-catalogue-surface, Canvas);
    border-color: currentColor;
    color: inherit;
}

.bclib-modern-search .admin-message-for-search-form,
.bclib-modern-search .admin-message-for-search-form a,
.bclib-modern-search .bclib-search-form .search-field input,
.bclib-modern-search .bclib-search-form .search-field select,
.bclib-modern-search .bclib-search-form .select2-container--default .select2-selection--single .select2-selection__rendered,
.bclib-featured-slider .book-title,
.bclib-featured-slider .book-title a,
.bclib-featured-slider .book-author,
.bclib-featured-slider .book-author a,
.bclib-featured-slider .book-desc {
    color: inherit;
}

.bclib-modern-search .bclib-search-form .search-field input[type=submit],
.bclib-modern-search .bclib-search-form .search-field input[type=submit]:hover,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form:hover,
.bclib-featured-slider .book-buy-btn a,
.bclib-featured-slider .book-details-btn a {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

@media (max-width: 767px) {
    .bclib-featured-slider {
        padding: 22px 0;
    }

    .bclib-featured-slider .featured-book-item {
        padding: 18px;
    }

    .bclib-featured-slider .book-title,
    .bclib-featured-slider .book-title a {
        font-size: 28px;
    }
}

.bclib-single-book-gallery {
    display: grid;
    gap: 14px;
}

.bclib-single-book-gallery__main {
    background: transparent;
    border: 0;
    cursor: zoom-in;
    display: block;
    padding: 0;
    position: relative;
    width: 100%;
}

.bclib-single-book-gallery__main img {
    display: block;
    width: 100%;
}

.bclib-single-book-gallery__main span {
    background: rgba(8, 26, 68, 0.84);
    border-radius: 999px;
    bottom: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    left: 50%;
    opacity: 0;
    padding: 7px 12px;
    position: absolute;
    transform: translateX(-50%);
    transition: opacity 160ms ease;
    white-space: nowrap;
}

.bclib-single-book-gallery__main:hover span,
.bclib-single-book-gallery__main:focus span {
    opacity: 1;
}

.bclib-single-book-gallery__slider {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
}

.bclib-single-book-gallery__track {
    display: flex;
    gap: 8px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.bclib-single-book-gallery__thumb {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    flex: 0 0 68px;
    height: 88px;
    overflow: hidden;
    padding: 0;
}

.bclib-single-book-gallery__thumb.is-active {
    border-color: #2563eb;
}

.bclib-single-book-gallery__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bclib-single-book-gallery__arrow {
    align-items: center;
    background: #eef3fb;
    border: 1px solid #d9e1ef;
    border-radius: 6px;
    color: #081a44;
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 32px;
}

.bclib-gallery-modal {
    align-items: center;
    background: rgba(2, 8, 23, 0.82);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 32px;
    position: fixed;
    z-index: 999999;
}

.bclib-gallery-modal.is-open {
    display: flex;
}

.bclib-gallery-modal img {
    background: #fff;
    border-radius: 8px;
    max-height: 90vh;
    max-width: min(92vw, 980px);
    object-fit: contain;
}

.bclib-gallery-modal__close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: #081a44;
    cursor: pointer;
    display: inline-flex;
    font-size: 28px;
    height: 40px;
    justify-content: center;
    position: fixed;
    right: 24px;
    top: 24px;
    width: 40px;
}

body.bclib-gallery-modal-open {
    overflow: hidden;
}

body.bclib-catalog-boxed-layout.book-catalogue-library-single-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-archive-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-author-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-category-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-series-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-publisher-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.bclib-catalog-boxed-layout {
    background: #eef3f8;
}

body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin-bottom: 32px !important;
    margin-top: 32px !important;
    overflow: visible;
    padding: 24px !important;
}

body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page) .bclib-catalogue-grid {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin-bottom: 32px !important;
    margin-top: 32px !important;
    padding: 24px !important;
}

body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper .bclib-container,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper .bclib-container,
body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper .bclib-catalogue-grid,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper .bclib-catalogue-grid {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1220px) {
    body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
    body.bclib-catalog-boxed-layout .bclib-book-single-wrapper {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
}

@media (max-width: 640px) {
    body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
    body.bclib-catalog-boxed-layout .bclib-book-single-wrapper {
        border-radius: 8px;
        margin-left: 10px !important;
        margin-right: 10px !important;
        padding: 16px !important;
    }
}

.bclib-reviews-section {
    max-width: 1180px;
    margin: 0 auto 34px;
    padding: 0 16px;
}

.bclib-reviews-head,
.bclib-reviews-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 360px;
}

.bclib-reviews-head {
    align-items: end;
    margin-bottom: 18px;
}

.bclib-reviews-kicker {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.bclib-reviews-section h2,
.bclib-review-form h3 {
    color: #081a44;
    margin: 0;
}

.bclib-reviews-summary,
.bclib-review,
.bclib-review-form,
.bclib-reviews-empty,
.bclib-review-login-required {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
}

.bclib-reviews-summary {
    padding: 16px;
}

.bclib-reviews-summary strong {
    color: #081a44;
    display: block;
    font-size: 30px;
    line-height: 1;
}

.bclib-review-stars {
    color: #cbd5e1;
    display: inline-flex;
    gap: 2px;
    letter-spacing: 0;
}

.bclib-review-stars .is-filled {
    color: #f59e0b;
}

.bclib-reviews-list {
    display: grid;
    gap: 14px;
}

.bclib-review {
    padding: 18px;
}

.bclib-review header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bclib-review p {
    color: #4d5d78;
    margin: 0 0 12px;
}

.bclib-review time {
    color: #667394;
    font-size: 13px;
}

.bclib-review-form,
.bclib-reviews-empty,
.bclib-review-login-required {
    padding: 20px;
}

.bclib-review-form {
    display: grid;
    gap: 14px;
}

.bclib-review-form label {
    display: grid;
    gap: 6px;
}

.bclib-review-form label span {
    color: #263854;
    font-weight: 700;
}

.bclib-review-form input,
.bclib-review-form select,
.bclib-review-form textarea {
    border: 1px solid #d9e1ef;
    border-radius: 6px;
    color: #081a44;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.bclib-review-form button {
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    min-height: 42px;
    padding: 0 16px;
}

.bclib-review-notice,
.bclib-review-error {
    border-radius: 6px;
    margin: 0 0 16px;
    padding: 12px 14px;
}

.bclib-review-notice {
    background: #ecfdf5;
    color: #166534;
}

.bclib-review-error {
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 900px) {
    .bclib-reviews-head,
    .bclib-reviews-layout {
        grid-template-columns: 1fr;
    }
}

body.single-book .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-reviews-section {
    box-sizing: border-box;
    display: block;
    max-width: 1180px !important;
    margin: 0 auto 34px !important;
    padding: 0 16px !important;
    width: 100%;
}

body.single-book .bclib-reviews-section *,
body.book-catalogue-library-single-page .bclib-reviews-section * {
    box-sizing: border-box;
}

body.single-book .bclib-reviews-head,
body.single-book .bclib-reviews-layout,
body.book-catalogue-library-single-page .bclib-reviews-head,
body.book-catalogue-library-single-page .bclib-reviews-layout {
    display: grid !important;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

body.single-book .bclib-reviews-kicker,
body.book-catalogue-library-single-page .bclib-reviews-kicker {
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    text-transform: uppercase;
}

body.single-book .bclib-reviews-section h2,
body.single-book .bclib-review-form h3,
body.book-catalogue-library-single-page .bclib-reviews-section h2,
body.book-catalogue-library-single-page .bclib-review-form h3 {
    color: #081a44 !important;
    margin: 0 !important;
}

body.single-book .bclib-review,
body.single-book .bclib-review-form,
body.single-book .bclib-reviews-empty,
body.single-book .bclib-review-login-required,
body.book-catalogue-library-single-page .bclib-review,
body.book-catalogue-library-single-page .bclib-review-form,
body.book-catalogue-library-single-page .bclib-reviews-empty,
body.book-catalogue-library-single-page .bclib-review-login-required {
    background: #fff !important;
    border: 1px solid #e3eaf5 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06) !important;
    padding: 20px !important;
}

body.single-book .bclib-review-form,
body.book-catalogue-library-single-page .bclib-review-form {
    display: grid !important;
    gap: 14px !important;
    max-width: 100%;
}

body.single-book .bclib-review-form label,
body.book-catalogue-library-single-page .bclib-review-form label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
}

body.single-book .bclib-review-form input,
body.single-book .bclib-review-form select,
body.single-book .bclib-review-form textarea,
body.book-catalogue-library-single-page .bclib-review-form input,
body.book-catalogue-library-single-page .bclib-review-form select,
body.book-catalogue-library-single-page .bclib-review-form textarea {
    background: #f9fbff !important;
    border: 1px solid #d9e1ef !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #081a44 !important;
    font-size: 15px !important;
    min-height: 42px !important;
    padding: 9px 11px !important;
    width: 100% !important;
}

body.single-book .bclib-review-form textarea,
body.book-catalogue-library-single-page .bclib-review-form textarea {
    min-height: 132px !important;
    resize: vertical;
}

body.single-book .bclib-review-form button,
body.book-catalogue-library-single-page .bclib-review-form button {
    background: #2563eb !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #fff !important;
    cursor: pointer;
    font-weight: 700 !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    width: max-content;
}

@media (max-width: 900px) {
    body.single-book .bclib-reviews-head,
    body.single-book .bclib-reviews-layout,
    body.book-catalogue-library-single-page .bclib-reviews-head,
    body.book-catalogue-library-single-page .bclib-reviews-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Modern Book Catalogue single page surface */
body.book-catalogue-library-single-page,
body.single-book {
    background: #f5f7fb;
}

.book-catalogue-library-single-page .bclib-book-single-wrapper,
body.single-book .bclib-book-single-wrapper {
    margin: 0;
    padding: 34px 16px;
}

.book-catalogue-library-single-page .bclib-book-single-wrapper .bclib-container,
body.single-book .bclib-book-single-wrapper .bclib-container {
    max-width: 1180px;
    margin: 0 auto;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page,
body.single-book .bclib-book-single-header-content-container.book-single-page {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    padding: 34px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page > .bclib-row,
body.single-book .bclib-book-single-header-content-container.book-single-page > .bclib-row {
    align-items: center;
    gap: 30px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5 {
    flex: 0 0 330px;
    max-width: 330px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7 {
    flex: 1 1 0;
    max-width: none;
}

.book-catalogue-library-single-page .bclib-book-image-wrapper,
body.single-book .bclib-book-image-wrapper {
    background: #eef3fb;
    border-radius: 8px;
    padding: 18px;
}

.book-catalogue-library-single-page .bclib-book-image-wrapper img,
body.single-book .bclib-book-image-wrapper img {
    border-radius: 6px;
    box-shadow: 0 16px 34px rgba(8, 26, 68, 0.18);
    margin: 0 auto;
    max-height: 500px;
    object-fit: contain;
}

.book-catalogue-library-single-page .bclib-book-content-wrapper,
body.single-book .bclib-book-content-wrapper {
    color: #263854;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container h1.book-name,
body.single-book .bclib-book-single-header-content-container h1.book-name {
    color: #081a44;
    font-size: 42px;
    line-height: 1.12;
    margin-bottom: 14px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container h4.book-author,
body.single-book .bclib-book-single-header-content-container h4.book-author {
    color: #51617f;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container h4.book-author a,
.book-catalogue-library-single-page .bclib-book-loop-content-wrapper .book-title a,
.book-catalogue-library-single-page .bclib-book-loop-content-wrapper .book-author a,
body.single-book .bclib-book-single-header-content-container h4.book-author a,
body.single-book .bclib-book-loop-content-wrapper .book-title a,
body.single-book .bclib-book-loop-content-wrapper .book-author a {
    text-decoration: none !important;
}

.book-catalogue-library-single-page .bclib-book-short-description,
body.single-book .bclib-book-short-description {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    color: #4d5d78;
    padding: 18px;
}

.book-catalogue-library-single-page .bclib-book-short-description p,
body.single-book .bclib-book-short-description p {
    color: #4d5d78;
}

.book-catalogue-library-single-page .book-price,
body.single-book .book-price {
    color: #081a44;
    font-weight: 700;
}

.book-catalogue-library-single-page .book-single-page-buttons-wrapper,
body.single-book .book-single-page-buttons-wrapper {
    gap: 10px;
}

.book-catalogue-library-single-page .bclib-book-content-wrapper a.bclib-book-buy-now-button,
body.single-book .bclib-book-content-wrapper a.bclib-book-buy-now-button {
    background: #2563eb;
    border-color: #2563eb;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    letter-spacing: 0;
    text-decoration: none !important;
}

.book-catalogue-library-single-page .bclib-book-content-wrapper a.bclib-book-buy-now-button:hover,
.book-catalogue-library-single-page .bclib-book-content-wrapper a.bclib-book-buy-now-button:focus,
body.single-book .bclib-book-content-wrapper a.bclib-book-buy-now-button:hover,
body.single-book .bclib-book-content-wrapper a.bclib-book-buy-now-button:focus {
    background: #081a44;
    border-color: #081a44;
}

.book-catalogue-library-single-page .bclib-book-overview-section,
body.single-book .bclib-book-overview-section {
    background: transparent;
    border: 0;
    padding: 0;
}

.book-catalogue-library-single-page .bclib-book-overview-section > .bclib-row,
body.single-book .bclib-book-overview-section > .bclib-row {
    gap: 24px;
}

.book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-8,
body.single-book .bclib-book-overview-section .bclib-col-lg-8 {
    flex: 1 1 0;
    max-width: none;
}

.book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-4,
body.single-book .bclib-book-overview-section .bclib-col-lg-4 {
    flex: 0 0 360px;
    max-width: 360px;
}

.book-catalogue-library-single-page .bclib-book-overview,
.book-catalogue-library-single-page .bclib-book-information-container,
body.single-book .bclib-book-overview,
body.single-book .bclib-book-information-container {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
    color: #263854;
    padding: 28px;
}

.book-catalogue-library-single-page .bclib-book-information-container,
body.single-book .bclib-book-information-container {
    margin-top: 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list,
body.single-book .bclib-book-information-container .information-list {
    border-bottom: 1px solid #edf1f7;
    gap: 14px;
    margin-bottom: 0;
    padding: 12px 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list:first-child,
body.single-book .bclib-book-information-container .information-list:first-child {
    padding-top: 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list:last-child,
body.single-book .bclib-book-information-container .information-list:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list .information-label h4,
body.single-book .bclib-book-information-container .information-list .information-label h4 {
    color: #667394;
    font-size: 13px;
    font-weight: 700;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list .information-content h4,
body.single-book .bclib-book-information-container .information-list .information-content h4 {
    color: #172844;
    font-size: 14px;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list .information-content h4 a,
body.single-book .bclib-book-information-container .information-list .information-content h4 a {
    color: #2563eb;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page > .bclib-row,
    .book-catalogue-library-single-page .bclib-book-overview-section > .bclib-row,
    body.single-book .bclib-book-single-header-content-container.book-single-page > .bclib-row,
    body.single-book .bclib-book-overview-section > .bclib-row {
        display: block;
    }

    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5,
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7,
    .book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-8,
    .book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-4,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7,
    body.single-book .bclib-book-overview-section .bclib-col-lg-8,
    body.single-book .bclib-book-overview-section .bclib-col-lg-4 {
        max-width: 100%;
    }

    .book-catalogue-library-single-page .bclib-book-content-wrapper,
    body.single-book .bclib-book-content-wrapper {
        margin-top: 24px;
    }

    .book-catalogue-library-single-page .bclib-book-information-container,
    body.single-book .bclib-book-information-container {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    .book-catalogue-library-single-page .bclib-book-single-wrapper,
    body.single-book .bclib-book-single-wrapper {
        padding: 18px 12px;
    }

    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page,
    .book-catalogue-library-single-page .bclib-book-overview,
    .book-catalogue-library-single-page .bclib-book-information-container,
    body.single-book .bclib-book-single-header-content-container.book-single-page,
    body.single-book .bclib-book-overview,
    body.single-book .bclib-book-information-container {
        padding: 20px;
    }

    .book-catalogue-library-single-page .bclib-book-single-header-content-container h1.book-name,
    body.single-book .bclib-book-single-header-content-container h1.book-name {
        font-size: 30px;
        line-height: 1.2;
    }
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__thumb img,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__thumb img {
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
    width: 100%;
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__main,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__main {
    border-radius: 6px;
    overflow: hidden;
}

body.single-book .bclib-book-overview-section .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-section {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
    margin: 24px 0 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100%;
}

body.single-book .bclib-book-overview-section .bclib-reviews-panel,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-panel {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
    padding: 22px;
}

body.single-book .bclib-book-overview-section .bclib-reviews-head,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-head {
    align-items: center;
    display: grid !important;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto !important;
    margin: 0 0 18px !important;
}

body.single-book .bclib-book-overview-section .bclib-reviews-summary,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-summary {
    box-shadow: none;
    min-width: 150px;
    padding: 14px !important;
}

body.single-book .bclib-book-overview-section .bclib-reviews-list,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-list {
    gap: 12px;
}

body.single-book .bclib-book-overview-section .bclib-review,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review {
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 16px !important;
}

body.single-book .bclib-book-overview-section .bclib-review header,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review header {
    margin-bottom: 10px !important;
}

body.single-book .bclib-book-overview-section .bclib-review p,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review p {
    margin: 0 0 8px !important;
}

body.single-book .bclib-book-overview-section .bclib-review time,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review time {
    display: block;
    line-height: 1.4;
}

body.single-book .bclib-book-overview-section .bclib-reviews-empty,
body.single-book .bclib-book-overview-section .bclib-review-login-required,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-empty,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review-login-required {
    box-shadow: none !important;
    margin: 0 !important;
    min-height: 0 !important;
}

@media (max-width: 640px) {
    body.single-book .bclib-book-overview-section .bclib-reviews-section,
    body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-section {
        grid-template-columns: 1fr;
    }

    body.single-book .bclib-book-overview-section .bclib-reviews-panel,
    body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-panel {
        padding: 18px;
    }

    body.single-book .bclib-book-overview-section .bclib-reviews-head,
    body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-head {
        grid-template-columns: 1fr !important;
    }
}

body.single-book .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-reviews-section {
    align-items: start;
    display: grid !important;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
    margin: 24px 0 34px !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100%;
}

body.single-book .bclib-reviews-panel,
body.book-catalogue-library-single-page .bclib-reviews-panel {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
    padding: 28px;
}

body.single-book .bclib-reviews-head,
body.book-catalogue-library-single-page .bclib-reviews-head {
    align-items: center;
    display: grid !important;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto !important;
    margin: 0 0 22px !important;
}

body.single-book .bclib-reviews-summary,
body.book-catalogue-library-single-page .bclib-reviews-summary {
    min-width: 190px;
}

body.single-book .bclib-review,
body.book-catalogue-library-single-page .bclib-review {
    min-height: 0 !important;
    padding: 18px !important;
}

body.single-book .bclib-review p,
body.book-catalogue-library-single-page .bclib-review p {
    margin: 0 0 8px !important;
}

body.single-book .bclib-review-form-wrap,
body.book-catalogue-library-single-page .bclib-review-form-wrap {
    min-width: 0;
}

body.single-book .bclib-review-form,
body.book-catalogue-library-single-page .bclib-review-form {
    position: sticky;
    top: 24px;
}

@media (max-width: 991px) {
    body.single-book .bclib-reviews-section,
    body.book-catalogue-library-single-page .bclib-reviews-section {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    body.single-book .bclib-review-form,
    body.book-catalogue-library-single-page .bclib-review-form {
        position: static;
    }
}

@media (max-width: 640px) {
    body.single-book .bclib-reviews-panel,
    body.book-catalogue-library-single-page .bclib-reviews-panel {
        padding: 20px;
    }

    body.single-book .bclib-reviews-head,
    body.book-catalogue-library-single-page .bclib-reviews-head {
        grid-template-columns: 1fr !important;
    }
}

body.single-book .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-reviews-section {
    display: block !important;
    margin: 24px 0 34px !important;
}

body.single-book .bclib-reviews-section > .bclib-row,
body.book-catalogue-library-single-page .bclib-reviews-section > .bclib-row {
    gap: 24px;
}

body.single-book .bclib-reviews-section .bclib-col-lg-8,
body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-8 {
    flex: 1 1 0;
    max-width: none;
}

body.single-book .bclib-reviews-section .bclib-col-lg-4,
body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-4 {
    flex: 0 0 360px;
    max-width: 360px;
}

body.single-book .bclib-reviews-panel,
body.single-book .bclib-review-form,
body.book-catalogue-library-single-page .bclib-reviews-panel,
body.book-catalogue-library-single-page .bclib-review-form {
    background: #fff !important;
    border: 1px solid #e3eaf5 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06) !important;
    padding: 28px !important;
}

@media (max-width: 991px) {
    body.single-book .bclib-reviews-section > .bclib-row,
    body.book-catalogue-library-single-page .bclib-reviews-section > .bclib-row {
        display: block;
    }

    body.single-book .bclib-reviews-section .bclib-col-lg-8,
    body.single-book .bclib-reviews-section .bclib-col-lg-4,
    body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-8,
    body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-4 {
        max-width: 100%;
    }

    body.single-book .bclib-review-form-wrap,
    body.book-catalogue-library-single-page .bclib-review-form-wrap {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    body.single-book .bclib-reviews-panel,
    body.single-book .bclib-review-form,
    body.book-catalogue-library-single-page .bclib-reviews-panel,
    body.book-catalogue-library-single-page .bclib-review-form {
        padding: 20px !important;
    }
}

@media (prefers-color-scheme: dark) {
    body.book-catalogue-library-activated .bclib-container,
    body.book-catalogue-library-activated .bclib-book-single-wrapper,
    body.book-catalogue-library-activated .bclib-book-loop-content-wrapper,
    body.book-catalogue-library-activated .book-content-wraper,
    body.book-catalogue-library-activated .bclib-book-author-container-inner,
    body.book-catalogue-library-activated .bclib-book-category-container-inner,
    body.book-catalogue-library-activated .bclib-book-single-header-content-container.book-single-page,
    body.book-catalogue-library-activated .bclib-book-overview,
    body.book-catalogue-library-activated .bclib-author-bio-card,
    body.book-catalogue-library-activated .bclib-book-information-container,
    body.book-catalogue-library-activated .bclib-reviews-panel,
    body.book-catalogue-library-activated .bclib-review-form {
        background: #111827 !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
        color-scheme: dark;
    }

    body.book-catalogue-library-activated .bclib-archive-pages-wrapper {
        background: #020617 !important;
    }

    body.book-catalogue-library-activated a,
    body.book-catalogue-library-activated .book-title a,
    body.book-catalogue-library-activated .book-author a,
    body.book-catalogue-library-activated .information-label h4,
    body.book-catalogue-library-activated .bclib-review-date {
        color: #cbd5e1 !important;
    }

    body.book-catalogue-library-activated h1,
    body.book-catalogue-library-activated h2,
    body.book-catalogue-library-activated h3,
    body.book-catalogue-library-activated h4,
    body.book-catalogue-library-activated strong,
    body.book-catalogue-library-activated label {
        color: #f8fafc !important;
    }

    body.book-catalogue-library-activated input,
    body.book-catalogue-library-activated select,
    body.book-catalogue-library-activated textarea {
        background: #0f172a !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
    }
}

/* Modern book slider override */
.bclib-book-slider .slick-list {
    overflow: hidden;
}

.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-track {
    align-items: stretch;
    display: flex !important;
}

.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-slide,
.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-slide > div,
.bclib-book-slider .bclib-book-slider__slider-item {
    float: none !important;
    height: auto;
}

.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-slide > div,
.bclib-book-slider .bclib-book-slider__slider-item,
.bclib-book-slider .bclib-book-container {
    height: 100%;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper,
body.both-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper,
.bclib-book-slider .bclib-book-loop-content-wrapper {
    display: grid !important;
    gap: 12px;
    max-width: none !important;
    padding: 24px !important;
    width: 100% !important;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title,
.bclib-book-slider .book-title {
    font-family: inherit !important;
    font-size: clamp(20px, 2vw, 28px) !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-author,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-author,
.bclib-book-slider .book-author {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price,
.bclib-book-slider .book-price {
    font-family: inherit !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.bclib-book-slider .book-title a,
.bclib-book-slider .book-author a {
    color: inherit !important;
    text-decoration: none !important;
}

.bclib-book-slider .book-desc,
.bclib-book-slider .book-full-content-as-excerpt {
    min-height: 0 !important;
}

.bclib-book-slider .bclib-book-buttons-wrapper {
    margin-top: auto !important;
}

.bclib-book-slider .thumbnail-position-right .bclib-book-loop-image > a {
    justify-content: flex-end;
}

.bclib-book-slider .thumbnail-position-left .bclib-book-loop-image > a {
    justify-content: flex-start;
}

.bclib-book-slider.no-book-image .bclib-book-loop-content-wrapper {
    align-content: center;
    min-height: 320px;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow::before {
    color: currentColor;
}

.bclib-goodreads-section {
    margin: 24px 0;
}

.bclib-goodreads-card {
    align-items: center;
    background: var(--bclib-catalogue-surface, #fff);
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    padding: 28px;
}

.bclib-goodreads-card__kicker {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.bclib-goodreads-card h2 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.bclib-goodreads-card p {
    color: #526179;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.bclib-goodreads-card__meta {
    align-items: flex-start;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    justify-items: start;
    padding: 20px;
}

.bclib-goodreads-card__meta strong {
    font-size: 38px;
    line-height: 1;
}

.bclib-goodreads-stars {
    color: #cbd5e1;
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

.bclib-goodreads-stars .is-filled {
    color: #f59e0b;
}

.bclib-goodreads-card__meta span {
    color: #526179;
}

.bclib-goodreads-button {
    background: #2563eb;
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 18px;
    text-decoration: none !important;
}

.bclib-goodreads-button:hover,
.bclib-goodreads-button:focus {
    background: #1d4ed8;
    color: #fff !important;
}

@media (max-width: 760px) {
    .bclib-goodreads-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .bclib-online-reader__header,
    .bclib-online-reader__nav {
        align-items: stretch;
        flex-direction: column;
    }

    .bclib-online-reader__shell,
    .bclib-online-reader__page-content {
        padding: 22px;
    }

    .bclib-online-reader__pdf iframe {
        min-height: 520px;
    }
}

@media (prefers-color-scheme: dark) {
    body.book-catalogue-library-activated .bclib-online-reader__shell,
    body.book-catalogue-library-activated .bclib-online-reader__page-content {
        background: #111827 !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
    }

    body.book-catalogue-library-activated .bclib-online-reader__header {
        border-color: #334155 !important;
    }

    body.book-catalogue-library-activated .bclib-online-reader__header span,
    body.book-catalogue-library-activated .bclib-online-reader__nav span,
    body.book-catalogue-library-activated .bclib-online-reader--locked p,
    body.book-catalogue-library-activated .bclib-online-reader__empty {
        color: #cbd5e1 !important;
    }
}

