.test5{
    height: 50px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 48px;
    color: rgb(90, 125, 101);
}

.section-title::before,
.section-title::after {
    content: "";
    width: 200px;
    height: 1px;
    background-color: rgb(226, 224, 224);
}
.book-card {
    border: 1px solid #f0ece0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.book-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Image Container */
.book-img-wrapper {
    background-color: #e8e3d8;
    height: 240px;
    overflow: hidden;
}

.book-img-wrapper img {
    max-height: 190px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.book-card:hover .book-img-wrapper img {
    transform: scale(1.05);
}

/* Typography & Titles */
.book-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.3;
    min-height: 2.6rem;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clam: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 0.85rem;
    color: #6c757d;
}

.book-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: #2b2b2b;
}

.btn-dark-custom {
    background-color: #3B6B82;
    color: #ffffff;
    border: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-dark-custom:hover {
    background-color: #d4af37;
    color: #1e291e;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-dark-custom:active {
    transform: scale(0.98);
}

/* Bottom Button Arrow */
.btn-wrap {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgb(226, 224, 224);
}

.btn-accent-arrow {
    color: #000;
    text-decoration: none;
    transition: 0.3s;
    font-size: 20px;
    font-weight: bold;
}

.btn-accent-arrow::after {
    content: " →";
    margin-left: 8px;
    transition: 0.3s;
}

.btn-accent-arrow:hover {
    color: rgb(170, 125, 70);
}

.btn-accent-arrow:hover::after {
    margin-left: 12px;
}

/* Category Sidebar */
.category-sidebar {
    background-color: #f9f7f2;
    border: 1px solid rgb(226, 224, 224);
    padding: 25px 20px;
    position: sticky;
    top: 100px;
    border-radius: 8px;
}

.category-sidebar h4 {
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
    border-bottom: 2px solid rgb(90, 125, 101);
    padding-bottom: 10px;
}

.category-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    padding: 12px 10px;
    cursor: pointer;
    font-size: 16px;
    color: #444;
    transition: 0.3s;
    border-bottom: 1px solid #eee;
}

.category-item:hover {
    color: rgb(90, 125, 101);
    padding-left: 15px;
    font-size: large;
}

.category-item.active {
    color: rgb(90, 125, 101);
    font-weight: bold;
    border-left: 3px solid rgb(90, 125, 101);
    padding-left: 15px;
    background-color: #f0ece0;
    font-size: large;
}