/*==================================================
BOOK PAGE
Layout + Breadcrumb + Gallery
==================================================*/

.book-page {

    position: relative;

    background: #fff;

    overflow: hidden;

}


/*=========================================
Breadcrumb
=========================================*/

.book-breadcrumb {

    background: linear-gradient(
        180deg,
        #fff9f3 0%,
        #ffffff 100%
    );

    padding: 20px 0;

    border-bottom: 1px solid rgba(255,140,0,.08);

}

.book-breadcrumb .breadcrumb {

    margin: 0;

    background: transparent;

}

.book-breadcrumb .breadcrumb-item {

    font-size: .95rem;

    font-weight: 500;

}

.book-breadcrumb a {

    color: #ff7a18;

    text-decoration: none;

    transition: .3s;

}

.book-breadcrumb a:hover {

    color: #ff5722;

}

.book-breadcrumb .breadcrumb-item.active {

    color: #6b7280;

}


/*=========================================
Main Section
=========================================*/

.book-main-section {

    position: relative;

    padding: 80px 0;

    background:

        radial-gradient(circle at top left,
        rgba(255,153,0,.08),
        transparent 40%),

        radial-gradient(circle at bottom right,
        rgba(255,90,95,.08),
        transparent 35%),

        #fff;

}


/*=========================================
Gallery
=========================================*/

.book-gallery {

    position: sticky;

    top: 110px;

}


/*=========================================
Book Card
=========================================*/

.book-image-card {

    position: relative;

    background: #fff;

    border-radius: 28px;

    padding: 25px;

    border: 1px solid rgba(255,140,0,.08);

    box-shadow:

        0 25px 60px rgba(0,0,0,.08);

    overflow: hidden;

    transition: .35s;

}

.book-image-card:hover {

    transform: translateY(-8px);

    box-shadow:

        0 35px 70px rgba(255,120,0,.18);

}


/*=========================================
Book Cover
=========================================*/

.book-image-card img {

    width: 100%;

    display: block;

    border-radius: 18px;

    object-fit: cover;

}


/*=========================================
Discount Badge
=========================================*/

.discount-badge {

    position: absolute;

    top: 18px;

    left: 18px;

    z-index: 10;

    background: linear-gradient(
        135deg,
        #ff7a18,
        #ff4b5c
    );

    color: #fff;

    padding: 8px 16px;

    border-radius: 50px;

    font-size: .78rem;

    font-weight: 700;

    letter-spacing: .4px;

    box-shadow:

        0 10px 25px rgba(255,120,0,.30);

}


/*=========================================
Category Badge
=========================================*/

.category-badge {

    position: absolute;

    top: 18px;

    right: 18px;

    z-index: 10;

    background: rgba(255,255,255,.96);

    color: #ff7a18;

    padding: 8px 16px;

    border-radius: 50px;

    font-size: .78rem;

    font-weight: 700;

    box-shadow:

        0 8px 20px rgba(0,0,0,.08);

}


/*=========================================
Highlights
=========================================*/

.book-highlights {

    margin-top: 28px;

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.highlight-item {

    display: flex;

    align-items: center;

    gap: 16px;

    background: #fff;

    padding: 18px 22px;

    border-radius: 18px;

    border: 1px solid rgba(255,140,0,.08);

    transition: .30s;

}

.highlight-item:hover {

    transform: translateX(6px);

    box-shadow:

        0 15px 35px rgba(0,0,0,.08);

}

.highlight-item i {

    width: 54px;

    height: 54px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.2rem;

    color: #fff;

    background:

        linear-gradient(
            135deg,
            #ff7a18,
            #ff5f6d
        );

}

.highlight-item strong {

    display: block;

    color: #16213e;

    font-size: 1rem;

    font-weight: 700;

}

.highlight-item span {

    color: #6b7280;

    font-size: .90rem;

}


/*=========================================
Specifications
=========================================*/

.book-specifications {

    margin-top: 30px;

    background: #fff;

    border-radius: 22px;

    padding: 28px;

    border: 1px solid rgba(255,140,0,.08);

    box-shadow:

        0 20px 45px rgba(0,0,0,.05);

}

.book-specifications h5 {

    margin-bottom: 22px;

    font-weight: 700;

    color: #16213e;

}

.book-specifications ul {

    margin: 0;

    padding: 0;

    list-style: none;

}

.book-specifications li {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px 0;

    border-bottom: 1px dashed rgba(0,0,0,.08);

}

.book-specifications li:last-child {

    border-bottom: none;

}

.book-specifications span {

    color: #6b7280;

    font-size: .94rem;

}

.book-specifications strong {

    color: #16213e;

    font-weight: 700;

}


/*==================================================
BOOK INFORMATION
==================================================*/

.book-info{

    position:relative;

}


/*=========================================
Category Badge
=========================================*/

.book-info .section-badge{

    margin-bottom:18px;

}


/*=========================================
Book Title
=========================================*/

.book-title{

    margin:0 0 15px;

    font-size:2.6rem;

    line-height:1.25;

    font-weight:800;

    color:#16213e;

}

.book-subtitle{

    margin:0 0 25px;

    font-size:1.08rem;

    color:#6b7280;

    line-height:1.8;

}


/*=========================================
Author
=========================================*/

.book-author-info{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-bottom:25px;

    padding:12px 20px;

    background:#fff8f2;

    border:1px solid rgba(255,140,0,.10);

    border-radius:50px;

    color:#555;

    font-size:.95rem;

}

.book-author-info strong{

    color:#16213e;

    font-weight:700;

}

.book-author-info i{

    color:#ff7a18;

}


/*=========================================
Rating
=========================================*/

.book-rating-box{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:30px;

}

.stars{

    display:flex;

    gap:4px;

}

.stars i{

    color:#ffc107;

    font-size:1rem;

}

.book-rating-box span{

    color:#6b7280;

    font-size:.92rem;

}


/*=========================================
Price Box
=========================================*/

.book-price-box{

    display:flex;

    align-items:flex-end;

    flex-wrap:wrap;

    gap:18px;

    margin-bottom:30px;

    padding:28px;

    background:linear-gradient(135deg,#fff8f2,#ffffff);

    border:1px solid rgba(255,140,0,.10);

    border-radius:22px;

}

.sale-price{

    font-size:2.4rem;

    font-weight:800;

    color:#ff6a00;

    line-height:1;

}

.mrp-price{

    font-size:1.15rem;

    color:#9ca3af;

    text-decoration:line-through;

}

.save-price{

    padding:7px 16px;

    background:#22c55e;

    color:#fff;

    border-radius:50px;

    font-size:.82rem;

    font-weight:700;

}


/*=========================================
Description
=========================================*/

.book-short-description{

    margin:0 0 30px;

    color:#555;

    font-size:1rem;

    line-height:1.9;

}


/*=========================================
Stock
=========================================*/

.book-stock{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-bottom:35px;

    padding:12px 20px;

    border-radius:50px;

    background:#ecfdf5;

    color:#16a34a;

    font-weight:600;

}

.book-stock i{

    font-size:1rem;

}


/*=========================================
Action Buttons
=========================================*/

.book-action-buttons{

    display:flex;

    gap:18px;

    margin-bottom:30px;

}

.book-action-buttons a{

    flex:1;

    height:56px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    text-decoration:none;

    font-size:.95rem;

    font-weight:700;

    transition:.35s;

}

.book-action-buttons .btn-primary-custom{

    box-shadow:

        0 18px 40px rgba(255,122,24,.25);

}

.book-action-buttons .btn-primary-custom:hover{

    transform:translateY(-3px);

}

.btn-buy-now{

    background:#16213e;

    color:#fff;

    border-radius:14px;

}

.btn-buy-now:hover{

    background:#0d162c;

    color:#fff;

    transform:translateY(-3px);

}


/*=========================================
Marketplace
=========================================*/

.marketplace-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:30px;

}

.marketplace-buttons a{

    flex:1;

    min-width:180px;

    height:54px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    border-radius:14px;

    font-weight:700;

    transition:.35s;

}

.marketplace-buttons a:hover{

    transform:translateY(-3px);

}


/*=========================================
Share
=========================================*/

.book-share{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:14px;

    margin-top:15px;

}

.book-share span{

    font-weight:700;

    color:#16213e;

}

.book-share a{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff;

    color:#ff7a18;

    border:1px solid rgba(255,140,0,.10);

    transition:.35s;

}

.book-share a:hover{

    background:#ff7a18;

    color:#fff;

    transform:translateY(-4px);

    box-shadow:

        0 14px 28px rgba(255,122,24,.25);

}
/*==================================================
BOOK DESCRIPTION
Tabs + Details
==================================================*/

.book-description-section{

    position:relative;

    background:#fffaf6;

}


/*=========================================
Tabs Navigation
=========================================*/

.book-tabs{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-bottom:45px !important;

}

.book-tabs .nav-link{

    border:none;

    background:#fff;

    color:#6b7280;

    font-weight:700;

    font-size:.95rem;

    padding:14px 30px;

    border-radius:50px;

    transition:.35s;

    border:1px solid rgba(255,140,0,.10);

    box-shadow:

        0 10px 25px rgba(0,0,0,.05);

}

.book-tabs .nav-link:hover{

    color:#ff7a18;

    transform:translateY(-2px);

}

.book-tabs .nav-link.active{

    background:linear-gradient(
        135deg,
        #ff7a18,
        #ff5f6d
    );

    color:#fff;

    border-color:transparent;

    box-shadow:

        0 15px 35px rgba(255,122,24,.25);

}


/*=========================================
Content Card
=========================================*/

.book-content-card{

    background:#fff;

    border-radius:28px;

    padding:45px;

    border:1px solid rgba(255,140,0,.08);

    box-shadow:

        0 20px 45px rgba(0,0,0,.06);

}

.book-content-card h3{

    margin-bottom:30px;

    font-size:1.75rem;

    font-weight:700;

    color:#16213e;

}


/*=========================================
Description
=========================================*/

.book-description{

    color:#555;

    font-size:1rem;

    line-height:2;

}

.book-description p{

    margin-bottom:18px;

}

.book-description p:last-child{

    margin-bottom:0;

}


/*=========================================
Meta Grid
=========================================*/

.book-meta-grid{

    display:grid;

    grid-template-columns:

        repeat(2,minmax(0,1fr));

    gap:22px;

}


/*=========================================
Meta Item
=========================================*/

.meta-item{

    background:#fffaf6;

    border:1px solid rgba(255,140,0,.08);

    border-radius:18px;

    padding:22px;

    transition:.35s;

}

.meta-item:hover{

    transform:translateY(-5px);

    box-shadow:

        0 18px 35px rgba(0,0,0,.08);

}

.meta-item span{

    display:block;

    margin-bottom:10px;

    color:#6b7280;

    font-size:.88rem;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.meta-item strong{

    display:block;

    color:#16213e;

    font-size:1rem;

    font-weight:700;

    line-height:1.6;

}


/*=========================================
Tab Animation
=========================================*/

.tab-pane{

    animation:

        fadeBookTab .45s ease;

}

@keyframes fadeBookTab{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*=========================================
Responsive
=========================================*/

@media(max-width:991px){

    .book-content-card{

        padding:35px;

    }

    .book-meta-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .book-tabs{

        gap:10px;

        flex-wrap:wrap;

    }

    .book-tabs .nav-link{

        width:100%;

        text-align:center;

    }

    .book-content-card{

        padding:28px;

        border-radius:22px;

    }

    .book-content-card h3{

        font-size:1.45rem;

    }

}

/*==================================================
AUTHOR SECTION
==================================================*/

.author-section{

    position:relative;

    background:#ffffff;

}


/*=========================================
Author Card
=========================================*/

.author-card{

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #fffdfb 0%,
        #fff8f2 100%
    );

    border:1px solid rgba(255,140,0,.08);

    border-radius:30px;

    padding:50px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.06);

}

.author-card::before{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    border-radius:50%;

    background:rgba(255,122,24,.05);

    top:-120px;

    right:-120px;

}

.author-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,95,109,.05);

    left:-100px;

    bottom:-100px;

}


/*=========================================
Author Image
=========================================*/

.author-photo{

    position:relative;

    width:230px;

    height:230px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid #fff;

    box-shadow:

        0 25px 55px rgba(0,0,0,.12);

    transition:.35s;

}

.author-photo:hover{

    transform:scale(1.04);

}


/*=========================================
Author Name
=========================================*/

.author-name{

    margin-bottom:18px;

    font-size:2.1rem;

    font-weight:800;

    color:#16213e;

}


/*=========================================
Author Bio
=========================================*/

.author-bio{

    margin-bottom:35px;

    color:#555;

    font-size:1rem;

    line-height:2;

}


/*=========================================
Statistics
=========================================*/

.author-stats{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    margin-bottom:35px;

}

.stat-box{

    flex:1;

    min-width:170px;

    background:#fff;

    border:1px solid rgba(255,140,0,.08);

    border-radius:20px;

    padding:25px;

    text-align:center;

    transition:.35s;

}

.stat-box:hover{

    transform:translateY(-6px);

    box-shadow:

        0 18px 40px rgba(0,0,0,.08);

}

.stat-box strong{

    display:block;

    margin-bottom:10px;

    font-size:2rem;

    font-weight:800;

    color:#ff7a18;

}

.stat-box span{

    display:block;

    color:#6b7280;

    font-size:.92rem;

    font-weight:600;

}


/*=========================================
Buttons
=========================================*/

.author-actions{

    display:flex;

    flex-wrap:wrap;

    gap:16px;

}

.author-actions .btn-primary-custom{

    min-width:240px;

    justify-content:center;

}


/*=========================================
Responsive
=========================================*/

@media(max-width:991px){

    .author-card{

        padding:40px;

        text-align:center;

    }

    .author-photo{

        width:190px;

        height:190px;

        margin-bottom:25px;

    }

    .author-name{

        font-size:1.8rem;

    }

    .author-stats{

        justify-content:center;

    }

}

@media(max-width:576px){

    .author-card{

        padding:30px 22px;

        border-radius:24px;

    }

    .author-photo{

        width:160px;

        height:160px;

    }

    .author-name{

        font-size:1.5rem;

    }

    .stat-box{

        min-width:100%;

    }

    .author-actions .btn-primary-custom{

        width:100%;

        min-width:100%;

    }

}

/*==================================================
RELATED BOOKS
==================================================*/

.related-books{

    position:relative;

    background:#fffaf6;

}


/*=========================================
Related Book Card
=========================================*/

.related-book-card{

    position:relative;

    height:100%;

    background:#ffffff;

    border-radius:26px;

    overflow:hidden;

    border:1px solid rgba(255,140,0,.08);

    box-shadow:

        0 18px 45px rgba(0,0,0,.05);

    transition:.35s;

}

.related-book-card:hover{

    transform:translateY(-10px);

    box-shadow:

        0 30px 70px rgba(255,120,0,.16);

}


/*=========================================
Book Cover
=========================================*/

.related-book-card .book-cover{

    display:block;

    position:relative;

    overflow:hidden;

    background:#fff7f1;

}

.related-book-card .book-cover img{

    width:100%;

    height:360px;

    object-fit:cover;

    transition:.45s;

}

.related-book-card:hover .book-cover img{

    transform:scale(1.06);

}


/*=========================================
Body
=========================================*/

.book-card-body{

    padding:25px;

}

.book-card-body h5{

    margin:0 0 12px;

    min-height:58px;

    font-size:1.15rem;

    font-weight:700;

    line-height:1.5;

}

.book-card-body h5 a{

    color:#16213e;

    text-decoration:none;

    transition:.30s;

}

.book-card-body h5 a:hover{

    color:#ff7a18;

}


/*=========================================
Author
=========================================*/

.book-card-body .book-author{

    margin-bottom:18px;

    color:#6b7280;

    font-size:.92rem;

}


/*=========================================
Price
=========================================*/

.book-card-body .book-price{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:25px;

}

.book-card-body .sale-price{

    color:#ff6a00;

    font-size:1.35rem;

    font-weight:800;

}

.book-card-body .mrp-price{

    color:#9ca3af;

    text-decoration:line-through;

    font-size:.95rem;

}


/*=========================================
Button
=========================================*/

.book-card-buttons{

    margin-top:auto;

}

.book-card-buttons .btn-outline-custom{

    width:100%;

    justify-content:center;

}


/*=========================================
Responsive
=========================================*/

@media(max-width:1199px){

    .related-book-card .book-cover img{

        height:330px;

    }

}

@media(max-width:991px){

    .related-book-card .book-cover img{

        height:320px;

    }

}

@media(max-width:767px){

    .related-book-card .book-cover img{

        height:380px;

    }

}

@media(max-width:576px){

    .book-card-body{

        padding:20px;

    }

    .book-card-body h5{

        min-height:auto;

        font-size:1.05rem;

    }

    .related-book-card{

        border-radius:22px;

    }

}

/*==================================================
BOOK CTA
==================================================*/

.book-cta-section{

    position:relative;

    overflow:hidden;

    background:#ffffff;

}

.book-cta-card{

    position:relative;

    overflow:hidden;

    padding:70px 60px;

    border-radius:32px;

    background:linear-gradient(
        135deg,
        #ff7a18 0%,
        #ff5f6d 100%
    );

    color:#ffffff;

    box-shadow:
        0 30px 80px rgba(255,120,0,.25);

}

.book-cta-card::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-150px;

    right:-120px;

}

.book-cta-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    left:-80px;

    bottom:-80px;

}

.book-cta-card>*{

    position:relative;

    z-index:2;

}

.book-cta-card .section-badge{

    background:rgba(255,255,255,.16);

    color:#ffffff;

    border:none;

}

.book-cta-card h2{

    margin:18px 0 20px;

    font-size:2.5rem;

    font-weight:800;

    color:#ffffff;

}

.book-cta-card p{

    margin-bottom:28px;

    color:rgba(255,255,255,.92);

    line-height:1.9;

}

.cta-features{

    margin:0;

    padding:0;

    list-style:none;

}

.cta-features li{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;

    color:#ffffff;

    font-weight:600;

}

.cta-features li:last-child{

    margin-bottom:0;

}

.cta-features i{

    color:#ffe27a;

}

.cta-buttons{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.book-cta-card .btn-primary-custom{

    box-shadow:none;

}

.book-cta-card .btn-outline-custom{

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.25);

    color:#ffffff;

}

.book-cta-card .btn-outline-custom:hover{

    background:#ffffff;

    color:#ff7a18;

}


/*==================================================
GLOBAL HOVER EFFECTS
==================================================*/

.book-image-card,
.book-content-card,
.author-card,
.related-book-card,
.book-specifications,
.highlight-item,
.meta-item,
.stat-box{

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.book-image-card:hover,
.book-content-card:hover,
.author-card:hover{

    border-color:rgba(255,122,24,.18);

}


/*==================================================
SMOOTH SCROLL
==================================================*/

html{

    scroll-behavior:smooth;

}


/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1199px){

    .book-title{

        font-size:2.2rem;

    }

    .book-gallery{

        position:static;

    }

}

@media(max-width:991px){

    .book-main-section,
    .book-details-page{

        padding:60px 0;

    }

    .book-title{

        font-size:2rem;

    }

    .book-price-box{

        padding:24px;

    }

    .book-action-buttons{

        flex-direction:column;

    }

    .marketplace-buttons{

        flex-direction:column;

    }

    .book-cta-card{

        padding:50px 35px;

        text-align:center;

    }

    .book-cta-card h2{

        font-size:2rem;

    }

    .cta-features{

        margin-bottom:35px;

    }

}

@media(max-width:767px){

    .book-title{

        font-size:1.75rem;

    }

    .sale-price{

        font-size:2rem;

    }

    .book-price-box{

        gap:12px;

    }

    .book-share{

        justify-content:center;

    }

    .book-cta-card{

        padding:40px 28px;

        border-radius:24px;

    }

    .book-cta-card h2{

        font-size:1.7rem;

    }

}

@media(max-width:576px){

    .book-main-section,
    .book-details-page{

        padding:45px 0;

    }

    .book-image-card{

        padding:18px;

        border-radius:22px;

    }

    .highlight-item{

        padding:16px;

    }

    .highlight-item i{

        width:48px;

        height:48px;

        font-size:1rem;

    }

    .book-specifications{

        padding:22px;

    }

    .book-title{

        font-size:1.55rem;

        line-height:1.4;

    }

    .sale-price{

        font-size:1.8rem;

    }

    .book-action-buttons a,
    .marketplace-buttons a{

        width:100%;

    }

    .book-share{

        gap:10px;

    }

    .book-share a{

        width:40px;

        height:40px;

    }

    .book-cta-card{

        padding:35px 22px;

    }

    .book-cta-card h2{

        font-size:1.5rem;

    }

    .cta-buttons a{

        width:100%;

    }

}