
.discover-audiobooks {
    width: 268px;
    height: 50px;
    font-size: 20px !important;
    padding: 0 !important;
    line-height: 50px !important;
    text-transform: capitalize !important;
    letter-spacing: 0px !important;
    background-color: #D0AD73 !important;
    color: #fff !important;
}

.discover-audiobooks:hover {
    background-color: #5c1c72 !important;
}


.sp-title.page-header {
    font-family: "Brittney Signature";
    font-size: 70px;
    line-height: 70px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1E1A17!important;
    text-align: center;
}


.card-book{
    background: #f9f9f9;
    padding: 30px;
    display: flex;
    flex-direction: row;
    margin-bottom: 40px !important;
    overflow: visible;
}

.audiobookPage .card-book-img {
    min-width: 300px;
    max-width: 300px;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.audiobookPage .card-book-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-book-content{
    position: relative;
    margin-left: 30px;
    width: 100%;
    flex: 1;
    min-width: 0;
    padding-right: 70px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.audiobookPage .book-heading {
    width: 100%;
}

.audiobookPage .book-heading .revamp-blog-title {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.book-heading{
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #5c1c72 ;
}

.price-tag {
    position: absolute;
    top: -25px;
    right: -45px;
    overflow: visible;
    font-size: 18px;
    line-height: 18px;
    z-index: 91;
}

.audiobookPage .price-tag {
    right: -55px;
    top: -25px;
}

.price-tag:before {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    border-top: 25px solid rgba(0, 0, 0, .3);
    border-bottom: 25px solid rgba(0, 0, 0, .3);
    border-right: 25px solid rgba(0, 0, 0, .3);
    border-left: 25px solid transparent;
}

.price-tag:after {
    content: "";
    height: 3px;
    background: rgba(0, 0, 0, .3);
    display: block;
    position: absolute;
    bottom: -3px;
    left: 50px;
    right: 13px;
}

.price-tag span {
    display: block;
    padding: 3px 20px;
    position: relative;
    background: #5c1c72;
    overflow: visible;
    height: 50px;
    margin-left: 29px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.price-tag span:after {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    bottom: -15px;
    right: 0;
    border-top: 15px solid #3f134e;
    border-right: 15px solid transparent;
}

.price-tag span:before {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    top: 0;
    left: -25px;
    border-top: 25px solid #5c1c72;
    border-bottom: 25px solid #5c1c72;
    border-right: 25px solid transparent;
    border-left: 25px solid transparent;
}

.price-tag span h6 {
    font-size: .85rem;
    width: 100%;
}

.card-book-content h6 {
    font-weight: 500;
    margin-bottom: 0px;
}

.card-book-content h6, span .badge.fu {
    text-transform: uppercase;
}


.card-book .book-description{
    margin-bottom: 30px;
}

.ratingHeading .bookRating .fa-star{
    color: #D0AD73;
    font-size: 24px;
}

.book-rating-count{
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
}

.card-book-btns{
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-book-btns .btn {
    margin-right: 5px;
}

.audiobookPage #audiobook-list-row > [class*="col-"] {
    overflow: visible;
}

.quote-container{
    position: relative;
    background-color: #F2EDF4;
}

.quote-text,
.quote-writer-text{
    color: #1E1A17 !important;
    z-index: 2;
    position: relative;
}

.quote-left-icon{
    width: 60px;
    z-index: 2;
    position: relative;
    display: unset !important;
}

.quote-murial-right,
.quote-murial-left{
    position: absolute !important;
    z-index: 1;
    pointer-events: none;
}

.quote-murial-right{
    right: 0;
    top: 0;
    bottom: 0;
    max-width: 350px;
    width: 100%;
    height: 100%;
}

.quote-murial-left{
    left: 0;
    bottom: 0;
    max-width: 300px;
    width: 100%;
}


.audiobookInnerPage .card-book-img img{
    max-width: 100%;
    width: 100%;
    height: auto;
}

.audiobookInnerPage .card-book-content{
    height: 100%;
}

.audiobook-inner-section .book-heading{
    margin-bottom: 20px !important;
}

.audiobookInnerPage .users-bought-info{
    margin-bottom: 24px !important;
    margin-top: 20px !important;
}

.audiobookInnerPage .users-bought-info span i{
    font-size: 18px !important;
    color: #5c1c72 !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

.audiobookInnerPage .ratingHeading{
    margin-bottom: 20px !important;
}

.audiobookInnerPage .book-price-info{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 20px;
    /* margin-bottom: auto !important; */
}

.audiobookInnerPage .book-price-info span{
    font-size: 24px !important;
    color: #5c1c72 !important;
    font-weight: 500 !important;
}

.audiobookInnerPage .book-price-info span.strike-through{
    color: #B6B6B6 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

.audiobookInnerPage .card-book-btns{
    /* margin-top: auto !important; */
    margin-top: 20px !important;
}


.audiobookInnerPage .chapters-section{
    /* padding-top: 0px !important; */
    background: #f4efeb;
}

.audiobookInnerPage .section-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px !important;
}

.audiobookInnerPage .section-header .section-title{
    font-size: 70px ;
    line-height: 70px;
    font-family: "Brittney Signature";
    font-weight: 500 ;
    color: #1E1A17 ;
    letter-spacing: 0px ;
    margin-bottom: 20px;
}

.audiobookInnerPage .chapters-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.audiobookInnerPage .chapters-list .chapter-item{
    display: flex;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.audiobookInnerPage .chapters-list .chapter-item .chapter-count{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.audiobookInnerPage .chapters-list .chapter-item .chapter-count span{
    color: #D0AD73;
    font-size: 24px;
}

.audiobookInnerPage .chapters-list .chapter-item .chapter-count span.chapter-count-text{
    color: #1E1A17;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.audiobookInnerPage .chapters-list .chapter-item .chapter-content{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    gap: 5px;
}

.audiobookInnerPage .chapters-list .chapter-item .chapter-content .chapter-title{
    font-size: 20px;
    letter-spacing: 0;
    font-weight: 500;
}

.audiobookInnerPage .chapters-list .chapter-item .chapter-content .chapter-description{
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 400;
    color: #1E1A17;
}

.audiobookInnerPage .take-away-row-container{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.audiobookInnerPage .take-away-row{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* gap: 40px; */
}

.audiobookInnerPage .take-away-row .take-away-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;
    text-align: center;
    border-right: 1px solid #D0AD73;
    padding-inline: 40px;
    padding-block: 20px;
}

.audiobookInnerPage .take-away-row .take-away-item:last-child{
    border-right: none;
}

.audiobookInnerPage .take-away-row .take-away-item .take-away-item-icon i{
    font-size: 24px;
    color: #D0AD73;
}

.audiobookInnerPage .take-away-row .take-away-item .take-away-item-text strong{
    color: #5c1c72;
    font-weight: 500;
}



.audiobookInnerPage .gift-this-audiobook-section{
    background: #f4efeb;
}

.audiobookInnerPage .container.white-bg{
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.audiobookInnerPage .gift-this-audiobook-content{
    display: flex;
    gap: 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.audiobookInnerPage .gift-this-audiobook-content-left{
    width: 60%;
}

.audiobookInnerPage .gift-this-audiobook-content-left .gift-this-audiobook-content-title{
    font-size: 40px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 0;
    font-family: "Brittney Signature";
    margin-bottom: 10px;
}

.gift-this-audiobook-content-title span{
    color: #D0AD73;
}

.audiobookInnerPage .gift-this-audiobook-content-left p{
    font-size: 16px;
    color: #545454;
    margin-bottom: 20px;
}

.audiobookInnerPage .gift-this-audiobook-content-right img{
    width: 200px;
    object-fit: contain;
}

.audiobookInnerPage .bottom-murial-img{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}


/* ===== Testimonials section ===== */
.testimonials-section {
    overflow: hidden;
}

.testimonials-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-section .section-title {
    font-size: 70px;
    line-height: 70px;
    font-family: "Brittney Signature";
    font-weight: 500;
    color: #1E1A17;
    letter-spacing: 0px;
    margin-bottom: 20px;
}

.testimonials-section .section-description {
    color: #545454;
    font-size: 16px;
    margin-bottom: 0;
}

.testimonials-marquee {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonials-marquee--paused .testimonials-track--left,
.testimonials-marquee--paused .testimonials-track--right {
    animation: none;
    width: 100%;
    justify-content: center;
    transform: none;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.testimonials-track--left {
    animation: testimonials-scroll-left 180s linear infinite;
}

.testimonials-track--right {
    animation: testimonials-scroll-right 180s linear infinite;
}

@keyframes testimonials-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes testimonials-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.testimonial-card {
    flex: 0 0 auto;
    width: 360px;
    background: #F2EDF4;
    border-radius: 12px;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #5c1c72;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    color: #1E1A17;
    margin: 0;
}

.testimonial-meta {
    font-size: 13px;
    color: #8b8b8b;
    letter-spacing: 0;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars .fa-star,
.testimonial-stars .fa-star-o {
    color: #D0AD73;
    font-size: 14px;
}

.testimonial-stars .fa-star-o {
    opacity: 0.35;
}

.ratingHeading .bookRating .fa-star-o {
    color: #D0AD73;
    font-size: 24px;
    opacity: 0.35;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    color: #545454;
    margin: 0;
}


/* ===== CTA section ===== */
.cta-section{
    padding-block: 150px;
    position: relative;
    z-index: 2;
}

.cta-section .audiobook-cta-bg-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-container{
    position: relative;
    z-index: 2;
}

.cta-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin: 0 auto;
}

.cta-section .section-title {
    font-size: 70px;
    line-height: 70px;
    font-family: "Brittney Signature";
    font-weight: 500;
    color: #fff;
    letter-spacing: 0px;
    margin-bottom: 20px;
}

.cta-section .section-description{
    font-size: 18px;
    color: #fff;
    letter-spacing: 0;
    margin-bottom: 40px;
    width: 70%;
}

.cta-section .section-title span{
    color: #D0AD73;
}

.cta-section .button-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}



/* ===== Listen to free sample modal ===== */
.sample-player-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 14, 24, 0.6);
}

.sample-player-overlay.is-open {
    display: flex;
}

.sample-player {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 18px;
    padding: 26px 28px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: samplePlayerIn 0.25s ease;
}

@keyframes samplePlayerIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sample-player-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #D0AD73;
    background: transparent;
    color: #D0AD73;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.sample-player-close:hover {
    background: #D0AD73;
    color: #fff;
}

.sample-player-head {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.sample-player-cover {
    flex: 0 0 auto;
    width: 92px;
}

.sample-player-cover img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.sample-player-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sample-player-title {
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    color: #1E1A17;
    letter-spacing: 0;
    margin: 0 0 4px;
}

.sample-player-subtitle {
    font-size: 13px;
    color: #545454;
    margin: 0 0 8px;
    letter-spacing: 0;
}

.sample-player-author {
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sample-player-author span {
    color: #5c1c72;
    font-weight: 600;
    font-size: 13px;
}

.sample-player-author em {
    color: #D0AD73;
    font-style: italic;
    font-size: 13px;
}

.sample-player-getbook {
    display: inline-block;
    background: #5c1c72;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sample-player-getbook:hover {
    background: #4a1660;
}

.sample-player-progress {
    margin-top: 22px;
}

.sample-player-seek {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #e7e2ea;
    outline: none;
    cursor: pointer;
}

/* Hide the Materialize-injected value bubble on the seek bar */
.sample-player-progress .thumb {
    display: none !important;
}

.sample-player-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #5c1c72;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #5c1c72;
    cursor: pointer;
}

.sample-player-seek::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #5c1c72;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #5c1c72;
    cursor: pointer;
}

.sample-player-times {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    color: #1E1A17;
}

.sample-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.sample-player-skip {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #1E1A17;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-player-skip svg {
    width: 40px;
    height: 40px;
}

.sample-player-skip span {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}

.sample-player-playpause {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #5c1c72;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sample-player-playpause:hover {
    background: #4a1660;
}

.sample-player-playpause .fa-play {
    margin-left: 3px;
}

.sample-player-unlock {
    display: block;
    width: 100%;
    margin: 24px auto 0;
    text-align: center;
    background: #D0AD73;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    padding: 13px 18px;
    border-radius: 40px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sample-player-unlock:hover {
    background: #D0AD73;
}

.sample-player-unlock strong {
    color: #5c1c72;
    font-weight: 700;
}

.sample-player-unlock s {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-left: 4px;
}

@media screen and (max-width: 420px) {
    .sample-player {
        padding: 24px 20px 24px;
    }
    .sample-player-head {
        gap: 14px;
    }
    .sample-player-cover {
        width: 78px;
    }
    .sample-player-title {
        font-size: 19px;
    }
}

@media screen and (max-width: 1024px) {
    .audiobookPage .card-book {
        flex-direction: column;
    }
    .audiobookPage .card-book-img {
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }
    .audiobookPage .card-book-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .card-book-content{
        margin-top: 0px;
        margin-left: 0px;
        padding-right: 0;
    }

    .book-heading{
        padding-top: 20px;
        margin-bottom: 10px;
    }

    .book-heading h2{
        font-size: 26px !important;
        line-height: 36px !important;
        
    }

    .audiobookPage .price-tag {
        right: -50px;
        top: -25px;
    }

    .card-book .book-description{
        margin-bottom: 0px;
    }

    .ratingHeading{
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-bottom: 20px;
    }

    .card-book-btns{
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .btn-sm {
        width: max-content !important;
        display: grid !important;
        place-content: center;
    }

    h2{
        font-size: 45px !important;
    }

}


@media screen and (max-width: 768px) {
   
    .audiobookInnerPage .chapters-list{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .audiobookInnerPage .take-away-row-container{
        gap: 20px;
    }

    .audiobookInnerPage .take-away-row{
        grid-template-columns: 1fr;
    }

    .audiobookInnerPage .take-away-row .take-away-item{
        border-right: none;
    }

    .testimonials-section .section-title {
        font-size: 50px;
        line-height: 50px;
    }
    .testimonial-card {
        width: 300px;
        padding: 22px 24px;
    }

    .audiobookInnerPage .gift-this-audiobook-content{
        flex-direction: column-reverse;
    }
    .audiobookInnerPage .gift-this-audiobook-content-right img{
        width: 100%;
    }
    .audiobookInnerPage .gift-this-audiobook-content-left{
        width: 100%;
    }

}

.audiobookListenPage .chapters-list--listen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.audiobookListenPage .listen-skeleton-card {
    height: 120px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
    background-size: 200% 100%;
    animation: listenSkeletonShimmer 1.2s ease-in-out infinite;
}

@media screen and (max-width: 768px) {
    .audiobookPage .price-tag {
        right: -41px;
        top: -25px;
    }
    .card-book-btns .btn {
        width: 100% !important;
    }
}

@keyframes listenSkeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 1199px) {
    .audiobookListenPage .chapters-list--listen {
        grid-template-columns: 1fr;
    }
}
