.main {
    padding: 0 20px;
}

.book-storefront-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

@media (min-width: 1550px) {
    .main {
        padding: 0 190px;
    }
}

@media (min-width: 1024px) {
    .book-storefront-list {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.title-p {
    font-weight: 600;
    margin-bottom: 20px;
}

.filter-buttons-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.filter-button {
    color: #FFF;
    background-color: #000;
    padding: 8px 16px;
    border-radius: 24px;
    display: block;
    font-size: 1rem;
    text-decoration: none;
}

.genre-option-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: center; */
    gap: 16px;
    margin-bottom: 20px;
}

.genre-option-button {
    color: #FFF;
    background-color: #000;
    padding: 8px 16px;
    border-radius: 24px;
    display: block;
}

.author-filter-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: center; */
    gap: 16px;
    margin-bottom: 20px;
}

.author-option-button {
    color: #FFF;
    background-color: #000;
    padding: 8px 16px;
    border-radius: 24px;
    display: block;
    width: 16px;
    align-content: center;
    text-align: center;
}

.book-storefront-item {
    margin-bottom: 2rem;
}

.book-image-preview-container {
    width: 320px;
    height: 450px;
    overflow: hidden;
}

.book-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.book-storefront-item {
    width: 352px;
    list-style: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.book-card-link {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.book-storefront-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.display-none {
    display: none;
}