/* Catalog-specific styles */
.catalogs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.catalog-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.catalog-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.catalog-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    color: var(--text-dark);
    transition: background-color var(--transition-base);
}

.catalog-link:hover {
    background-color: var(--bg-light);
}

.catalog-link:hover .catalog-producer {
    background-color: var(--white);
}

.catalog-producer {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.catalog-producer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.catalog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-color);
}

.catalog-placeholder i {
    font-size: 40px;
    color: var(--text-gray);
}

.catalog-info {
    flex: 1;
    min-width: 0;
}

.catalog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-gray);
    font-size: 14px;
}

.catalog-category,
.catalog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.catalog-file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.catalog-file-size {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.catalog-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.catalog-link:hover .catalog-download-btn {
    background-color: var(--primary-dark);
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .catalog-link {
        flex-wrap: wrap;
    }
    
    .catalog-file-info {
        width: 100%;
        justify-content: space-between;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .catalog-producer {
        width: 80px;
        height: 60px;
    }
    
    .catalog-title {
        font-size: 16px;
    }
    
    .catalog-producer,
    .catalog-info,
    .catalog-file-info {
        flex: 1;
        width: 100%;
    }
    
    .catalog-meta {
        justify-content: center;
    }
}
