body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
}

.site-header .navbar {
    min-height: 72px;
}

.navbar-brand {
    font-size: 1.35rem;
    color: #111 !important;
}

.navbar-brand i {
    margin-right: 6px;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    margin: 0 5px;
}

.nav-link:hover {
    color: #000 !important;
}

.site-footer {
    background: #f8f9fa;
}

.site-footer a {
    color: #555;
    text-decoration: none;
}

.site-footer a:hover {
    color: #000;
}

main {
    min-height: 500px;
}
/* =========================================================
   BOOKSTORE HOMEPAGE
========================================================= */

.book-hero {
    padding: 90px 0;
    background: #f7f4ee;
    overflow: hidden;
}

.hero-small-title,
.section-heading span,
.section-title-center span,
.cta-box span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #777;
}

.book-hero h1 {
    font-size: 58px;
    line-height: 1.08;
    font-weight: 800;
    max-width: 700px;
    margin: 18px 0;
}

.book-hero h1 span {
    display: block;
    color: #8b5e3c;
}

.book-hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    max-width: 620px;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 13px 25px;
    margin-right: 8px;
}

.hero-book-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-book-cover {
    width: 280px;
    height: 390px;
    background: #1e293b;
    color: white;
    border-radius: 4px;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 25px 25px 0 #d8cbbb;
    transform: rotate(3deg);
}

.hero-book-cover i {
    font-size: 55px;
    margin-bottom: 30px;
}

.hero-book-cover h3 {
    font-size: 28px;
    line-height: 1.3;
}

.hero-book-cover p {
    color: #ddd;
    font-size: 14px;
    margin-top: 20px;
}


/* SEARCH */

.home-search {
    margin-top: -35px;
    position: relative;
    z-index: 5;
}

.search-box {
    background: white;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.search-input {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #ddd;
    padding: 0 18px;
    height: 52px;
    border-radius: 5px;
}

.search-input i {
    color: #777;
}

.search-input input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 15px;
}


/* SECTIONS */

.home-section {
    padding: 90px 0;
}

.featured-section {
    background: #fafafa;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 8px 0 0;
}

.section-heading a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
}


/* CATEGORY */

.category-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #222;
    padding: 25px 10px;
    border: 1px solid #eee;
    background: white;
    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    color: #222;
}

.category-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2ede7;
    border-radius: 50%;
    margin: 0 auto 15px;
    color: #8b5e3c;
    font-size: 21px;
}

.category-card h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.category-card p {
    margin: 0;
    font-size: 12px;
    color: #888;
}


/* BOOK CARD */

.book-card {
    background: white;
    border: 1px solid #eee;
    height: 100%;
    transition: .25s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.book-cover {
    height: 330px;
    display: block;
    background: #f0eee9;
    overflow: hidden;
    text-decoration: none;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-book-cover {
    width: 100%;
    height: 100%;
    padding: 35px 25px;
    background: #263238;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.default-book-cover i {
    font-size: 55px;
    margin-bottom: 25px;
}

.default-book-cover span {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.book-content {
    padding: 20px;
}

.book-category {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 700;
    color: #8b5e3c;
    margin-bottom: 8px;
}

.book-content h3 {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 7px;
}

.book-content h3 a {
    color: #222;
    text-decoration: none;
}

.book-author {
    color: #777;
    font-size: 13px;
}

.book-bottom {
    border-top: 1px solid #eee;
    margin-top: 18px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.book-bottom strong {
    font-size: 17px;
}

.book-view {
    text-decoration: none;
    color: #222;
    font-size: 13px;
    font-weight: 700;
}


/* WHY */

.why-section {
    padding: 90px 0;
    background: #f7f4ee;
}

.section-title-center {
    max-width: 700px;
    margin: auto;
}

.section-title-center h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0;
}

.section-title-center p {
    color: #777;
    line-height: 1.7;
}

.feature-box {
    background: white;
    padding: 35px;
    height: 100%;
    border: 1px solid #eee;
}

.feature-icon {
    width: 58px;
    height: 58px;
    background: #f2ede7;
    color: #8b5e3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 22px;
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 700;
}

.feature-box p {
    color: #777;
    line-height: 1.7;
    margin: 0;
}


/* CTA */

.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: #1e293b;
    color: white;
    padding: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-box span {
    color: #bbb;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0;
}

.cta-box p {
    color: #ccc;
    margin: 0;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .book-hero {
        padding: 65px 0;
    }

    .book-hero h1 {
        font-size: 45px;
    }

    .hero-book-card {
        margin-top: 60px;
    }

    .home-section,
    .why-section {
        padding: 65px 0;
    }

}

@media (max-width: 767px) {

    .book-hero h1 {
        font-size: 38px;
    }

    .book-hero p {
        font-size: 16px;
    }

    .hero-book-cover {
        width: 230px;
        height: 320px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .section-heading h2,
    .section-title-center h2 {
        font-size: 29px;
    }

    .book-cover {
        height: 300px;
    }

    .cta-box {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

}
/* =========================================================
   BOOKS CATALOG
========================================================= */

.books-page-hero {
    background: #f7f4ee;
    padding: 70px 0;
}

.books-page-hero span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8b5e3c;
}

.books-page-hero h1 {
    font-size: 45px;
    font-weight: 800;
    margin: 12px 0;
}

.books-page-hero p {
    color: #777;
    margin: 0;
}

.books-catalog {
    padding: 70px 0;
}

.catalog-sidebar {
    border: 1px solid #eee;
    padding: 25px;
    position: sticky;
    top: 20px;
}

.catalog-sidebar h5 {
    font-weight: 800;
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.catalog-search {
    display: flex;
    border: 1px solid #ddd;
    height: 45px;
}

.catalog-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 0 12px;
}

.catalog-search button {
    width: 45px;
    border: 0;
    background: #222;
    color: white;
}

.category-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-filter a {
    color: #555;
    text-decoration: none;
    padding: 9px 10px;
    font-size: 14px;
}

.category-filter a:hover,
.category-filter a.active {
    background: #f2ede7;
    color: #8b5e3c;
    font-weight: 700;
}

.catalog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.catalog-top h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.catalog-top p {
    color: #888;
    margin: 5px 0 0;
}

.no-books {
    text-align: center;
    padding: 90px 20px;
    border: 1px solid #eee;
}

.no-books i {
    font-size: 55px;
    color: #bbb;
    margin-bottom: 20px;
}

.no-books h3 {
    font-weight: 800;
}

.no-books p {
    color: #777;
}

.book-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.book-pagination .page-link {
    color: #222;
    border-color: #ddd;
    min-width: 42px;
    text-align: center;
}

.book-pagination .page-item.active .page-link {
    background: #222;
    border-color: #222;
    color: white;
}

@media (max-width: 991px) {

    .catalog-sidebar {
        position: static;
    }

    .books-page-hero h1 {
        font-size: 38px;
    }

}

@media (max-width: 575px) {

    .books-catalog {
        padding: 45px 0;
    }

    .books-page-hero {
        padding: 50px 0;
    }

    .books-page-hero h1 {
        font-size: 32px;
    }

}

/* =========================================================
   BOOK DETAILS
========================================================= */

.book-breadcrumb {
    background: #f7f4ee;
    padding: 18px 0;
    font-size: 14px;
}

.book-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.book-breadcrumb i {
    margin: 0 10px;
    color: #aaa;
}

.book-breadcrumb span {
    color: #888;
}

.book-details-section {
    padding: 80px 0;
}

.details-cover {
    max-width: 430px;
    margin: auto;
    background: #f0eee9;
    box-shadow: 15px 15px 0 #e4ded5;
}

.details-cover img {
    width: 100%;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.details-default-cover {
    min-height: 550px;
    padding: 50px 35px;
    background: #263238;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.details-default-cover i {
    font-size: 75px;
    margin-bottom: 35px;
}

.details-default-cover h3 {
    font-size: 30px;
    line-height: 1.4;
}

.details-default-cover p {
    color: #ccc;
}

.book-details-content {
    padding: 15px 0;
}

.details-category {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
    color: #8b5e3c;
    margin-bottom: 15px;
}

.book-details-content h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.details-author {
    color: #777;
    font-size: 15px;
}

.details-author i {
    margin-right: 7px;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.stars {
    color: #b47b32;
    letter-spacing: 3px;
    font-size: 18px;
}

.rating-count {
    color: #888;
    font-size: 13px;
}

.details-description {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    margin: 25px 0;
}

.details-description h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.details-description p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.details-price {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.details-price > span {
    font-size: 32px;
    font-weight: 800;
}

.details-price small {
    color: #888;
}

.details-price .free-price {
    color: #198754;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.details-actions .btn {
    padding: 13px 24px;
}

.details-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.details-benefits div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
}

.details-benefits i {
    color: #8b5e3c;
}

.related-books-section {
    background: #fafafa;
    padding: 80px 0;
}

.book-not-found {
    padding: 120px 0;
}

.book-not-found i {
    font-size: 70px;
    color: #bbb;
    margin-bottom: 25px;
}

.book-not-found h1 {
    font-weight: 800;
}

.book-not-found p {
    color: #777;
    margin-bottom: 25px;
}

@media (max-width: 991px) {

    .book-details-section {
        padding: 55px 0;
    }

    .book-details-content h1 {
        font-size: 38px;
    }

}

@media (max-width: 575px) {

    .details-cover {
        box-shadow: 8px 8px 0 #e4ded5;
    }

    .details-default-cover {
        min-height: 450px;
    }

    .book-details-content h1 {
        font-size: 32px;
    }

    .details-actions {
        flex-direction: column;
    }

    .details-actions .btn {
        width: 100%;
    }

}