.book-filter-section {
    margin-bottom: 10px;
    z-index: 99;
    background: #fff;
    padding: 15px 0;
    transition: .35s;
}

.book-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    overflow: hidden;
    padding: 10px 0px;
}

.book-filter::-webkit-scrollbar {
    display: none;
}


.filter-btn {
    padding: 4px 18px;
    border: 1px solid #d4d4d4;
    border-radius: 5px;
    background: #fceded;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .35s ease;
    box-shadow: -1px 2px 2px rgba(0, 0, 0, .08);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #eb6b2d;
    transition: .35s;
    z-index: -1;
}

.filter-btn:hover {
    color: #fff;
    border-color: #eb6b2d;
    transform: translateY(-2px);
}

.filter-btn:hover::before {
    width: 100%;
}

.filter-btn.active {
    background: #eb6b2d;
    border-color: #eb6b2d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: -1px 2px 2px rgba(0, 0, 0, .45);
}


.filter-item {
    opacity: 1;
    transform: scale(1);
    transition: .4s ease;
}

.filter-item.fade-out {
    opacity: 0;
    transform: scale(.96);
}


.book-category-section {
    margin-bottom: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .45s ease, transform .45s ease;
}

.book-category-section.fade {
    opacity: 0;
    transform: translateY(35px);
}

.book-category-section.hide {
    display: none;
}

.book-category-section .category-heading {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.book-category-section .category-heading h2 {
    margin-bottom: 6px;
    color: #1b1b1b;
    font-size: 34px;
    font-weight: 500;
}

.book-category-section .category-heading p {
    margin: 0;
    color: #666;
}

.book-category-section .team-items {
    margin-bottom: 20px;
    transition: .4s;
}

.book-category-section .team-items:hover {
    transform: translateY(-8px);
}

.book-category-section .team-image img {
    transition: .4s;
}

.book-category-section .team-items:hover img {
    transform: scale(1.05);
}

@media (max-width:991px) {

    .book-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .book-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
    }

    .book-category-section .category-heading h2 {
        font-size: 28px;
    }
}

@media (max-width:767px) {

    .book-filter-section {
        top: 70px;
    }

    .book-category-section {
        margin-bottom: 40px;
    }

    .book-category-section .category-heading h2 {
        font-size: 24px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

.book-category-section .team-items{
    background:#fff;
    border:1px solid #f2d5c7;
    border-radius:8px;
    overflow:hidden;
    transition:all .35s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    height:100%;
}

.book-category-section .team-items:hover{
    transform:translateY(-1px);
    border-color:#f39f5f;
    box-shadow:0 5px 5px rgba(0,0,0,.12);
}

.book-category-section .team-image{
    background:#fff7f2;
    padding:12px;
    text-align:center;
    border-radius: 8px;
}

.book-category-section .team-image img{
    width:100%;
    transition:.4s;
}

.book-category-section .team-items:hover .team-image img{
    transform:scale(1.05);
}

.book-category-section .team-content{
    padding:5px;
}

.book-category-section .team-content h3{
    margin:0 0 1px;
    font-size:15px;
    line-height:24px;
    font-weight:600;
}

.book-category-section .team-content h3 a{
    color:#1b1b1b;
    text-decoration:none;
    transition:.3s;
}

.book-category-section .team-content h3 a:hover{
    color:#eb6b2d;
}

.book-category-section .team-content p{
    margin:0;
    color:#777;
    font-weight: 600;
    font-size:14px;
    line-height:22px;
}

.book-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top: 12px;
    background: #fff7f2;
    padding: 5px 10px;
    border-radius: 5px;
}

.book-footer .price{
    font-size:18px;
    font-weight:700;
    color:#111;
}

.book-footer .price::before{
    content:"₹";
    font-size:18px;
    margin-right:2px;
}

.cart-btn{
    width:30px;
    height:30px;
    background:#eb6b2d;
    color:#fff;
    border-radius:3px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:15px;
    transition:.35s;
}

.cart-btn:hover{
    background:#111;
    color:#fff;
    transform:translateY(-1px) rotate(0deg);
}

/*Product page image gallery css starts here*/

.thumb .main-image{
    border:1px solid #eee;
    border-radius:12px;
    overflow:hidden;
    background:#f3f3f3;
    cursor:pointer;
    padding: 20px;
}

.thumb .main-image img{
    width:100%;
    display:block;
    transition:.4s;
}

.thumb .main-image:hover img{
    transform:scale(1.02);
}

.thumb-gallery{
    display:flex;
    gap:12px;
    justify-content:center;
    margin-top:18px;
}

.thumb-gallery img{
    width:75px;
    height:75px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.3s;
}

.thumb-gallery img:hover{
    transform:translateY(-3px);
}

.thumb-gallery img.active{
    border-color:#eb6b2d;
}

.image-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.image-lightbox.active{
    display:flex;
}

.image-lightbox img{
    max-width:85%;
    max-height:85vh;
    border-radius:12px;
    background:#fff;
    padding:8px;
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:35px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
}


/*ARROW CSS STARTS HERE*/

.main-image{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#f8f8f8;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    border-radius:50%;
    background:rgba(240,240,240,.95);
    color:#444;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    z-index:10;
    opacity:0;
    visibility:hidden;
}

.main-image:hover .gallery-arrow{
    opacity:1;
    visibility:visible;
}

.gallery-arrow.prev{
    left:12px;
}

.gallery-arrow.next{
    right:12px;
}

.gallery-arrow:hover{
    background:#eb6b2d;
    color:#fff;
    transform:translateY(-50%) scale(1.08);
}

/*lightbox arrow css starts here*/

.lightbox-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#fff;
    cursor:pointer;
    transition:.3s;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.lightbox-prev{
    left:30px;
}

.lightbox-next{
    right:30px;
}

.lightbox-arrow:hover{
    background:#eb6b2d;
    transform:translateY(-50%) scale(1.08);
}



/*=========================
    PRODUCT GALLERY
==========================*/

.program-author-items .thumb .main-image img{
    width:100%;
    border-radius:10px;
    display:block;
}

.program-author-items .thumb .thumb-gallery{
    display:flex;
    gap:10px;
    margin-top:15px;
    flex-wrap:wrap;
}

.program-author-items .thumb .thumb-gallery .thumb-item{
    width:85px !important;
    height:85px !important;
    max-width:85px !important;
    min-width:85px !important;
    flex:0 0 85px;
    object-fit:cover;
    border-radius:8px;
    border:2px solid #eee;
    cursor:pointer;
    transition:.3s;
    display:block;
}

.program-author-items .thumb .thumb-gallery .thumb-item:hover{
    border-color:#eb6b2d;
    transform:translateY(-4px);
}

.program-author-items .thumb .thumb-gallery .thumb-item.active{
    border-color:#eb6b2d;
}

/****************************/


/*==============================
      BOOK ACTION BUTTONS
===============================*/

.book-action-btns{
    display:flex;
    gap:18px;
    margin:20px 0;
    flex-wrap:wrap;
}

.book-action-btns a{
    flex:1;
    height:54px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    transition:.35s;
}

.book-action-btns a i{
    margin-right:10px;
    font-size:18px;
}

/* Add To Cart */

.add-cart-btn{
    background:#eb6b2d;
    color:#fff;
    border:2px solid #eb6b2d;
    box-shadow:0 5px 10px rgba(235,107,45,.25);
}

.add-cart-btn:hover{
    background:#d55b1f;
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 5px 15px rgba(235,107,45,.35);
}

/* Buy Now */

.buy-now-btn{
    background:#fff;
    color:#eb6b2d;
    border:2px solid #eb6b2d;
}

.buy-now-btn:hover{
    background:#eb6b2d;
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 5px 15px rgba(235,107,45,.30);
}

@media(max-width:767px){

    .book-action-btns{
        flex-direction:column;
        gap:15px;
    }

    .book-action-btns a{
        width:100%;
    }

}