/**
 * Bookstore CSS
 * This file contains styles that are only used on the bookstore page
 */

/* Book grid layout */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Book card styles */
.book-card {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.book-card img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    margin-bottom: 10px;
}

.book-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.book-card .author {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.book-card .price {
    font-weight: bold;
    color: #e91e63;
    margin-bottom: 15px;
}

.book-card .isbn {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

/* Filter section */
.book-filters {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 20px;
}

.book-filters h4 {
    margin-bottom: 15px;
}

.book-filters .form-group {
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
} 