.cbl-container {
    display: flex;
    gap: 24px;
}
.cbl-sidebar {
    width: 260px;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
}
.cbl-filter-group {
    margin-bottom: 24px;
}
.cbl-filter-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}
.cbl-filter-group input,
.cbl-filter-group select,
.cbl-filter-group textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.cbl-filter-group button {
    width: 100%;
    background:#6a47ed!important;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}
.cbl-main {
    flex: 1;
}
.cbl-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cbl-view-toggle button {
    background: #eee;
    border: none;
    padding: 6px 12px;
    margin-left: 4px;
    border-radius: 4px;
    cursor: pointer;
}
.cbl-view-toggle .active {
    background:#6a47ed!important;
    color: #fff;
}
#cbl-book-listing.cbl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
#cbl-book-listing.cbl-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cbl-book-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}
.cbl-book-img img {
    max-width: 120px;
    border-radius: 4px;
}
.cbl-book-info h3 {
    margin: 0 0 5px 0;
}
.cbl-view-details, .cbl-add-to-cart {
    background: #d32f2f;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
    border: none;
    cursor: pointer;
    margin-right: 8px;
}
.cbl-add-to-cart {
    background: #222;
}
.cbl-pagination {
    margin-top: 24px;
    text-align: center;
}
	@media only screen and (max-width: 600px) {	.cbl-book-img img {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
    position: relative !important;
    bottom:unset!important;
    left: 4px;
}}
@media (max-width: 900px) {
    .cbl-container {
        flex-direction: column;
    }
    .cbl-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
}