/*
Theme Name: Laura Lite Child
Theme URI: https://premiumcoding.com/wordpress-themes/laura-a-feminine-wordpress-blog-theme/
Template: laura-lite
Author: premiumcoding
Author URI: http://premiumcoding.com
Description: Laura Lite - Premium WordPress Blog Theme
Version: 1.0.1789612217
Updated: 2026-09-16 22:30:17

*/

/* =========================================================
 * BOOKS SHELF - DESIGN LIKE SCREENSHOT
 * ========================================================= */

.books-shelf {
    font-family: "Poppins", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grid Layout - Equal columns */
.books-shelf .books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .books-shelf .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .books-shelf .books-grid {
        grid-template-columns: 1fr;
    }
}

/* Book Card - Equal height/size */
.books-shelf .book-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    height: 100%;
}

/* Image - Fixed equal height, full image visible (no crop) */
.books-shelf .book-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f0;
}

.books-shelf .book-image img {
    width: 100%;
    max-width:100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Content area */
.books-shelf .book-title {
    font-family: "Georgia", serif;
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.books-shelf .book-description {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    margin: 0 20px 20px;
    flex-grow: 1;
}

/* Buy Now Button - Golden/Brown color like screenshot */
.books-shelf .book-button-wrapper {
    margin: 0 20px 20px;
}

.books-shelf .book-button {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    background-color: #b8860b;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.books-shelf .book-button:hover {
    background-color: #9a6f09;
    color: #fff !important;
}

/* Pagination */
.books-shelf .books-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.books-shelf .books-pagination button {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.books-shelf .books-pagination button:hover:not(:disabled) {
    background: #b8860b;
    color: #fff;
    border-color: #b8860b;
}

.books-shelf .books-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.books-shelf .books-page-numbers {
    display: flex;
    gap: 8px;
}

.books-shelf .books-page-numbers span {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.books-shelf .books-page-numbers span.active {
    background: #b8860b;
    color: #fff;
    border-color: #b8860b;
}