/**
 * Novedades/Recomendados - Grid styles
 */

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-grid img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 4px;
    background: #e8e5e0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-grid img:hover {
    transform: translateY(-6px);
    box-shadow: 4px 8px 20px rgba(0,0,0,0.15);
}

@media screen and (max-width: 600px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
        padding: 0 1rem 1.5rem;
    }
    
    .book-grid img:hover {
        transform: none;
    }
}