.category-page .filter-card {
    padding: 18px 20px;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    width: 56px;
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 28px;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(217, 171, 99, 0.2);
    color: var(--text-muted);
    font-size: 13px;
    background: rgba(217, 171, 99, 0.05);
}

.filter-item:hover {
    border-color: rgba(217, 171, 99, 0.5);
    color: var(--primary-hover);
}

.filter-item.active {
    color: #180f04;
    border-color: transparent;
    background: linear-gradient(140deg, #f2d4a9, #d9ab63);
    font-weight: 700;
}

.book-list {
    display: flex;
    flex-direction: column;
}

.book-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(217, 171, 99, 0.22);
}

.book-item:last-child {
    border-bottom: 0;
}

.book-cover {
    width: 120px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(217, 171, 99, 0.22);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.book-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 20px;
    color: var(--text-main);
    line-height: 1.3;
}

.book-author {
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-light);
}

.book-intro {
    margin-top: 8px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--text-light);
    font-size: 12px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(217, 171, 99, 0.34);
    color: var(--primary);
    background: rgba(217, 171, 99, 0.08);
}

.pagination {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(217, 171, 99, 0.24);
    background: rgba(217, 171, 99, 0.06);
    color: var(--text-muted);
    font-size: 13px;
}

.pagination a:hover {
    color: var(--primary-hover);
    border-color: rgba(217, 171, 99, 0.6);
}

.pagination .disabled span {
    opacity: 0.5;
}

@media (max-width: 760px) {
    .book-item {
        gap: 12px;
        padding: 14px 0;
    }

    .book-cover {
        width: 92px;
        height: 124px;
    }

    .book-title {
        font-size: 17px;
    }
}
